Re: [PHP] Basic question - Starting a background task without waiting for its end.

2007-01-02 Thread Richard Lynch
You can try tacking a "&" at the end to fork the Notepad opening... It may or may not work depending on a bunch of factors. Don't be surprised if it "works" and makes your Windows box even more unstable than it already way, and you get random crashes from this. Thread-safety within PHP extension

Re: [PHP] Basic question - Starting a background task without waiting for its end.

2007-01-01 Thread Martin Alterisio
2006/12/31, Michel <[EMAIL PROTECTED]>: I (very simply) try to open a "notepad" on a simple text file in a simplistic PHP script, and would like to go on and display the next page without waiting for this notepad to be shut. After various attempts, I have used an : exec ('bash -c cmd /C start

Re: [PHP] Basic question - Starting a background task without waiting for its end.

2006-12-31 Thread Jochem Maas
Michel wrote: > > I (very simply) try to open a "notepad" on a simple text file in a > simplistic PHP script, and would like to go on and display the next page > without waiting for this notepad to be shut. > > After various attempts, I have used an : > > exec ('bash -c cmd /C start /MAX notepad

[PHP] Basic question - Starting a background task without waiting for its end.

2006-12-31 Thread Michel
I (very simply) try to open a "notepad" on a simple text file in a simplistic PHP script, and would like to go on and display the next page without waiting for this notepad to be shut. After various attempts, I have used an : exec ('bash -c cmd /C start /MAX notepad "my_file" > NUL'); ... b