Yesterday, I wrote and ran a python script which executes a shell using subprocess.Popen(command.split()) where command is string whic
As @tripleee said, there is an issue executing your script. Make sure:
See also: Why is '#!/usr/bin/env python' supposedly more correct than just '#!/usr/bin/python'?