Skip to content

Conversation

@wtraylor
Copy link
Contributor

The call to docker must receive the command-line arguments verbatim,
including quotes. Therefore $@ needs to be quoted.

Without quotes (before):
popper run -f wf.yml "first step"
would execute:
docker run <...> getpopper/popper:v2.7.0 run -f wf.yml first step

With quotes (after fix):
docker run <...> getpopper/popper:v2.7.0 run -f wf.yml "first step"

The call to `docker` must receive the command-line arguments verbatim,
including quotes. Therefore `$@` needs to be quoted.

Without quotes (before):
$ popper run -f wf.yml "first step"
would execute:
$ docker run <...> getpopper/popper:v2.7.0 run -f wf.yml first step

With quotes (after fix):
$ docker run <...>  getpopper/popper:v2.7.0 run -f wf.yml "first step"
@ivotron ivotron merged commit 4098bc3 into getpopper:master Jul 29, 2020
@ivotron
Copy link
Collaborator

ivotron commented Jul 29, 2020

thanks a lot @wtraylor!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants