exec timing out, want to leave process running in bg
| From: | pkshifted at slackin dot com | Date: | Tue, 06 Mar 2001 21:23:36 +0000 |
| Subject: | exec timing out, want to leave process running in bg | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-42810@lists.php.net to get a copy of this message | ||
I'm trying to develop a front-end using php for mpg123 so that various members of my household
don't need to access a shell to start/play music. I'm using something similiar to
exec('$null'), w/ $null being equal to "mpg123 -y -Z --all >/dev/null/
&". The problem I'm having, is about 5 minutes after it starts, it dies, with no core
dump or anything, the process just stops. I'm sure this is done so that a process won't
run forever in the background (bonus/bug), but what if that's what I want? Is there any work
around?
This is using php4.0.4pl1 and FreeBSD 4.0 release with apache 1.3.12. Thanks in advance.
PKnull