Results 1 to 3 of 3

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Start a daemon

  1. #1
    Default Start a daemon
    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 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.

  2. #2
    Developer
    Join Date
    Jan 2008
    Posts
    16
    Thanks
    1
    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.

  3. #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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •