Re: subprocess + python-daemon - bug/problem?

2009-09-05 Thread Sewar
I got the same bug.

Traceback (most recent call last):
  File "./script1.py", line 30, in 
call(["python", "script2.py", "arg1"], stdout=sys.stdout, stderr=STDOUT)
  File "/usr/lib/python2.6/subprocess.py", line 444, in call
return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.6/subprocess.py", line 1123, in wait
pid, sts = os.waitpid(self.pid, 0)
OSError: [Errno 10] No child processes
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: subprocess + python-daemon - bug/problem?

2009-09-05 Thread Sewar
I got the same bug.

Traceback (most recent call last):
  File "./script1.py", line 30, in 
call(["python", "script2.py", "arg1"], stdout=sys.stdout, stderr=STDOUT)
  File "/usr/lib/python2.6/subprocess.py", line 444, in call
return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.6/subprocess.py", line 1123, in wait
pid, sts = os.waitpid(self.pid, 0)
OSError: [Errno 10] No child processes

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: subprocess + python-daemon - bug/problem?

2009-09-08 Thread Sewar
I looked at other daemon libraries and snippets, it's clearly the bug is in
subprocess not python-daemon.
Then I found Python bug #1731717 which discusses it.

I wish my project was opensource so I can post more specific test cases.

#1731717 http://bugs.python.org/issue1731717

Thanks

-- 
http://mail.python.org/mailman/listinfo/python-list