Re: Can I make a process run in background?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



oops, didn't mean to reply off list.  SORRY LIST!

here is what I said.

This method will work until you log out, when you log out all your background processes are killed.

If it were to be a CLI and you wanted it to run constantly and you manually wanted to control it, I would use "screen". Screen allows you to start a new terminal, start something, and then "detach" from that screen. Then you are allowed to log out and the next time you log in, you are able to resume the previous terminal session.



Per Jessen wrote:
Jim Lucas wrote:

This method will work until you log out, when you log out all your
background processes are killed.

man nohup.

good point



/Per Jessen, Zürich



--
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux