This micro update fixes the issues with the subprocess
module on Mac OS X.
A simple call to subprocess
on Mac OS X could be like that:
# Example for Mac OS X import subprocess def test_subprocess(): return subprocess.check_output(['ls', '-l'])
On Windows you must also set the shell
parameter to True
:
# Example for Windows import subprocess def test_subprocess(): return subprocess.check_output(['dir', '/b'], shell=True)