|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-26 14:13 UTC] derick@php.net
[2003-02-25 02:02 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 23:00:01 2025 UTC |
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