I\'m using a pair of python programs, one of which should call the second.
But this should be done in a way that the first program makes the second one a daemon (or
You can use subprocess.Popen for this:
import subprocess cmd = ['/usr/bin/python', '/path/to/my/second/pythonscript.py'] subprocess.Popen(cmd)
You might want to redirect stdout and stderr somewhere, you can do that by passing stdout= to the Popen constructor.
stdout
stderr
stdout=
Popen