My apologies, the python code should have been:
"import daemon
import subprocess
daemon.DaemonContext(stderr = open("fakeConsole.txt","w+")).open()
subprocess.Popen(['echo','1']).wait()"
However the error remains the same.
Yours,
Andy
On Jul
Hi all,
I'm trying to daemonize a python program, and occasionally have it run
subprocesses, however I'm running into a nasty error, as follows:
"File "/users/rsg/ancl/devcocast/devcocast-svn/scripts/DaemonSpawnTes
t.py", line 5, in
subprocess.Popen('echo 1').wait()
File "/usr/lib64/python