I\'ve figured out how to use call() to get my python script to run a command:
import subprocess mycommandline = [\'lumberjack\', \'-sleep all night\', \'-work a
A simple snippet:
try: subprocess.check_call(['executable']) except subprocess.CalledProcessError: pass # handle errors in the called executable except OSError: pass # executable not found