Skip to content

Bug with subprocess and arguments - #2

Open
alexbartol wants to merge 2 commits into
conyx:masterfrom
alexbartol:master
Open

Bug with subprocess and arguments#2
alexbartol wants to merge 2 commits into
conyx:masterfrom
alexbartol:master

Conversation

@alexbartol

Copy link
Copy Markdown

Referencing python documentation: https://docs.python.org/2/library/subprocess.html#subprocess.Popen

subprocess.Popen uses a list of strings as first argument not a long string containing all arguments.

As it sits if you use a long list of arguments you'll end up with this failure: OSError: Cannot run program ...

Alex Bartol and others added 2 commits October 12, 2016 13:30
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.

1 participant