[Tutor] Calling an external program/daemon that doesn't exit/return

2008-08-28 Thread Michael Bernhard Arp Sørensen
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."
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Calling an external program/daemon that doesn't exit/return

2008-08-28 Thread Michael Bernhard Arp Sørensen
Hi again.

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 <
[EMAIL PROTECTED]> 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."
>
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor