[Tutor] Calling an external program/daemon that doesn't exit/return
Michael Bernhard Arp Sørensen
michael at arpsorensen.dk
Thu Aug 28 13:56:07 CEST 2008
Aparantly it was as simple as:
os.system("nohup /code/daemon.py &")
I know it's more correct to write a real deamon startet from a runlevel, but
that will have to wait until later. :-)
Med venlig hilsen/Kind regards
Michael B. Arp Sørensen
Programmør / BOFH
"Ride out and meet them."
On Thu, Aug 28, 2008 at 1:06 PM, Michael Bernhard Arp Sørensen <
michael at arpsorensen.dk> wrote:
> Hi there.
> I'm trying to find some info about starting a program from python. I just
> want to start it and move on. The program will not end until reboot.
> Any clues?
> Med venlig hilsen/Kind regards
> Michael B. Arp Sørensen
> Programmør / BOFH
> "Ride out and meet them."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor