osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

cs