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

exec: don't use stdin to send commands to shell #134

Merged
merged 1 commit into from May 27, 2015

Conversation

axw
Copy link
Contributor

@axw axw commented May 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/)

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.
@axw
Copy link
Contributor Author

axw commented May 27, 2015

$$merge$$

@jujubot
Copy link
Contributor

jujubot commented May 27, 2015

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-utils

jujubot added a commit that referenced this pull request May 27, 2015
exec: don't use stdin to send commands to shell

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/)
@jujubot 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants