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

Use /bin/bash as the exec shell on Unixes #16

Merged
merged 6 commits into from
Dec 28, 2015
Merged

Conversation

isaacs
Copy link
Member

@isaacs isaacs commented Dec 28, 2015

Fix #14 by avoiding Dash on Ubuntu systems.

As it happens, this module was working just fine, but the exec shell was exiting in a way that didn't match the exit of its last job.

Fix tapjs#14 by avoiding Dash on Ubuntu systems.

As it happens, this module was working just fine, but the exec shell was
exiting in a way that didn't match the exit of its last job.
All of these were here to work around the fact that exec() is /bin/dash
on Linux, but /bin/bash on Darwin.
Sadly, in Node.js 0.10, one could not set the shell used by
child_process.exec(), so all of the tests fail badly if the
node is 0.10 and the shell is /bin/dash.
@isaacs
Copy link
Member Author

isaacs commented Dec 28, 2015

Once the travis-ci finishes, this should be good to go. 0.10 is failing on Travis because 0.10 does not allow one to set the shell used by cp.exec(), so it's removed in that last commit. Everything else was passing, so it should be good to go.

@bcoe
Copy link
Member

bcoe commented Dec 28, 2015

awesome \o/

bcoe added a commit that referenced this pull request Dec 28, 2015
Use /bin/bash as the exec shell on Unixes
@bcoe bcoe merged commit 1625df1 into tapjs:master Dec 28, 2015
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