Skip to content

write up how to reference a local script #158

Closed
@dshepelev15

Description

@dshepelev15

Can someone explain to me how to use InitialWorkDir requirements without any input parameters.
For instance, I need to put my shell scripts near with cwl script and run them from that cwl script. Is there some way don't use absolute path to scripts? I tried to use EnvVariable like that:

baseCommand: sh
arguments: [$SCRIPT_FOLDER/script.sh]

But it is not working.

Then I found to use InitialWorkDir requirement. I wrote that via that I can put my scripts inside the cwl script and use relative path to shell scripts, but i didn't find any examples how use that without input_parameters.

Anybody ideas?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions