ID:               44682
 Updated by:       [EMAIL PROTECTED]
 Reported By:      saveweb at inwind dot it
-Status:           Open
+Status:           Bogus
 Bug Type:         PHP options/info functions
 Operating System: Windows
 PHP Version:      5.2.5
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2008-04-10 10:37:01] saveweb at inwind dot it

Description:
------------
I want to start a php script in background. 
I have a page that starts the php-win.exe passing parameters and it
must not wait for the result.

example: exec ("c:/php/php-win.exe test.php")
where test.php is the script that must run in background.

I want that my start page does not wait the execution of php-win.exe.

I made a lot of tests using exec, system, shell_exec etc and changing
parameters.

examples:
exec ("c:/php/php-win.exe test.php &");
exec ("c:/php/php-win.exe test.php > out");
exec ("c:/php/php-win.exe test.php 1> out 2>out &");
exec ("start c:/php/php-win.exe test.php > out");
etc. etc.

but nothing.

2 strange things:
1) in the past using php4 it worked fine.
2) if i try to start another command (not php-win.exe) it works fine 
(example: exec("test.exe &")): the process starts in background and the
page doesn't wait.


Expected result:
----------------
expected result:
the php script starts and run in background
the page doesn't wait the end of php-win.exe

Actual result:
--------------
The start page waits until the script ends


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44682&edit=1

Reply via email to