Why this curl command works in shell but NOT when I do subprocess.getoutput(["curl", .....]) ??

Christian Seberino cseberino at gmail.com
Sat Feb 16 15:50:34 EST 2019


Nevermind...appears to get arguments like this you need to use subprocess.run rather than subprocess.getoutput (with capture_output = True).

cs



More information about the Python-list mailing list