-
Notifications
You must be signed in to change notification settings - Fork 15
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
compatibility issue with python 3.6 #16
Comments
this was introduced by 30bbd75 I will take care adding next fallback support, keep you updated |
Hi Peter, Thanks for the quick PR.
and
(https://docs.python.org/3/library/subprocess.html) Hmm, rereading the docs I might have mixed-up stdin and stderr in the second sentence. After some test, I think that Jacco |
Overseen, fixed by 9e471cc
I have zero trust in Python related to long term API stability in their functions, that's why I'm using Python version dependent coding...who knows when one decide to discard the support of legacy options in a future Python version...with current coding this would not harm. |
Hi,
I notice a last compatibility issue with python 3.6 (and probably earlier)
I get an error
TypeError: __init__() got an unexpected keyword argument 'capture_output'
The issue is in lines 193 and 201 in the
subprocess.run()
function. Bothcapture_output
andtext
are new additions to the function per python version 3.7. I Believe thatstdout=PIPE, stderr=PIPE, universal_newlines=True
is identical and is supported in older versions of python.Obviously
PIPE
needs to be imported fromsubprocess
.Jacco
The text was updated successfully, but these errors were encountered: