Calling app from subprocess.call with arguments
Calling app from subprocess.call with arguments Question: I’m a beginner in Python, and I’ve been trying to call a command line app, but it fails: >>> import subprocess as s >>> s.call(“gpio -g read 17”) Traceback (most recent call last): File “<stdin>”, line 1, in <module> File “/usr/lib/python2.6/subprocess.py”, line 470, in call return Popen(*popenargs, **kwargs).wait() …