Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reana.yaml: executing shell commands in commands #97

Open
tiborsimko opened this issue Jan 15, 2020 · 0 comments
Open

reana.yaml: executing shell commands in commands #97

tiborsimko opened this issue Jan 15, 2020 · 0 comments

Comments

@tiborsimko
Copy link
Member

Users of Serial workflow engine may want to execute commands in the step command.

Using $(...) does not validate:

commands:
          - g++ -g -std=c++11 -O3 -Wall -Wextra -Wpedantic -o skim skim.cxx $(root-config --cflags --libs)

Using backticks works fine:

commands:
          - g++ -g -std=c++11 -O3 -Wall -Wextra -Wpedantic -o skim skim.cxx `root-config --cflags --libs`

Since the preferred shell syntax to execute commands is $(command arg1 arg2) instead of <backquote>command arg1 arg2<backquote>, we should investigate allowing the former as well.

P.S. Observed for the Htt example https://github.com/cms-opendata-analyses/HiggsTauTauNanoAODOutreachAnalysis/pull/2/files

@tiborsimko tiborsimko added this to Client future in Triage Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Triage
Client future
Development

No branches or pull requests

1 participant