ID: 16032
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Duplicate
Bug Type: Program Execution
Operating System: Debian GNU/Linux (kernel 2.2.16)
PHP Version: 4.1.2
New Comment:
Dup of #15642
Previous Comments:
------------------------------------------------------------------------
[2002-03-13 01:04:32] [EMAIL PROTECTED]
A process spawned by backticks (backquotes) or with shell_exec() hang
around indefinitely if I cancel the page while it's running. The
program I'm running is a Perl script...
$list = `mp-list 2>&1`;
$list2 = shell_exec("mp-list 2>&1");
$status = shell_exec("mp-add $file 2>&1");
(it's taking too long because of a bug in our networking code -- maybe
this is why its not dying?)
When I do a ps ax (several minutes later) I get a whole bunch of stuff
like:
27030 ? S 0:00 /usr/sbin/apache
27031 ? S 0:00 sh -c mp-list 2>&1
27032 ? R 0:23 /usr/bin/perl /usr/local/bin/mp-list
Happens when I 'cancel' in MS IE 5 and in OmniWeb (Macintosh
browsers).
thanks
reed
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16032&edit=1