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

Command from config cannot include multiple command with | or && #94

Closed
raido opened this issue Sep 8, 2016 · 0 comments
Closed

Command from config cannot include multiple command with | or && #94

raido opened this issue Sep 8, 2016 · 0 comments

Comments

@raido
Copy link

raido commented Sep 8, 2016

Currently one cannot configure to run multiple commands with one liners like:

command: 'npm uninstall X && ember test --filter unit'

Main issue being that commands are run with child_process.spawn and not with exec. I understand that spawn is used through out the addon but maybe there is something we could do about it?

Workaround: Move command into *.sh file and set it up to be run by ember-try.

command: "./my-script.sh"

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

No branches or pull requests

1 participant