Re: Can I make a process run in background?
| From: | Luca Paolella | Date: | Tue, 06 Nov 2007 17:05:02 +0000 |
| Subject: | Re: Can I make a process run in background? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264129@lists.php.net to get a copy of this message | ||
Hi,
I'm very grateful for your help (thanks to everybody!), but maybe I didn't explain myself correctly, I'm sorry. What I need is the bot to log onto the server and, being logged as a user, to send some periodic messages on a channel (<Bot> Hello!) while listening for events and reacting consequentially (<User> !say Hi <Bot> Hi), so running two parallel scripts that connect separately won't do. A friend of mine suggested me a solution: he said that maybe two php scripts could "share" the same connection to the irc server so that while the first one processes the events, the second one acts in background, is it possible?
The script already runs via terminal, anyway, on Linux (Debian)