Bug #13593 Updated: system() & exec() hang

From: Date: Tue, 02 Jul 2002 05:00:10 +0000
Subject: Bug #13593 Updated: system() & exec() hang
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12760@lists.php.net to get a copy of this message
ID: 13593 Updated by: php-bugs@lists.php.net Reported By: jeremy@deadbeef.com -Status: Feedback +Status: No Feedback Bug Type: PWS related Operating System: Windows 98 / PWS PHP Version: 4.0CVS-2001-10-07 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-06-01 13:22:30] edink@php.net Could you try PHP 4.2.1 and see if the problem still persists? ------------------------------------------------------------------------ [2002-03-20 15:01:33] gpike@piocon.com I have done extensive tests with exec() and system() using PHP 4.1.2 under Win 98 (and 2000) and experience problems as well. I attempted to start a console process from PHP and return with a success message. I have experiemented with several possible solutions purposed under the exec() command reference including putting a "start" in the DOS command and redirecting the output to NUL. I have also attemted to start a C program that itself started the command in a forked process. All result in the exec() command hanging until the console is manually stopped. ------------------------------------------------------------------------ [2002-01-08 21:42:24] devinemke@devinemke.com I have the exact same problem although I am running PHP 4.1.1 on WinME. I did not have this problem on PHP 4.0.6. ------------------------------------------------------------------------ [2001-10-07 22:34:24] jeremy@deadbeef.com running any program from system() or exec() causes a console window to pop up brefly, the program runs and then the web server hangs. I am running the 4.0.8-dev build from www.php4win.de Oct 4 2001 23:30:20 in CGI mode with personal web server. To get the web server to work again afterwards, it seems I have to stop the PWS service, ctrl-alt-delete and kill all php processes, and then restart PWS. Sometimes that doesn't work and I have to reboot. There are no error messages printed anywhere, it just hangs. Any program. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=13593&edit=1

« previous php.bugs (#12760) next »