Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
exec: don't use stdin to send commands to shell #134
+63
−30
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-utils |
added a commit
that referenced
this pull request
May 27, 2015
jujubot
merged commit 054b256
into
juju:master
May 27, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axw commentedMay 26, 2015
Using stdin to send commands to the shell means that commands run with this cannot use stdin, or they will consume subsequent script input. Instead, write a temporary script file and keep it around until the process is Waited upon.
Tested on Linux and Windows.
(Review request: http://reviews.vapour.ws/r/1781/)