Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Start a daemonis a discussion within the
iPhone / iPod Touch SDK | Development Discussionforums, a part of the
3rd Party Apps For iPhone | iPod Touchsection;
I am trying to install a python wiki http://jtauber.com/leonardo/ It is start by python test_server.py Can someone tell me how to start it? In terminal, it seems working, but when...
01-24-2008, 01:40 AM #1Start a daemon
I am trying to install a python wiki http://jtauber.com/leonardo/
It is start by
Can someone tell me how to start it? In terminal, it seems working, but when I switch to the browser, it gone.
I have try putting & but it just work for a while, after a second or so, it gone again.
01-24-2008, 03:36 AM #2
- Join Date
- Jan 2008
- Thanked 2 Times in 1 Post
First of all - not sure if you're posting in the correct forum. This is for iPhone dev only. However, you may want to look at daemontools (http://cr.yp.to/daemontools.html). By switching to the browser if you mean you closed the terminal, yes the session and thus the apps running in that session will die.
01-24-2008, 05:54 AM #3
In terminal you could do a :
nohup python test_server.py &
and it will still run till next reboot of iphone or if script completes