Hi.
I am writing a little cross plataform program using php-gtk. Everything works in linux, but windows is another story (probably because i do not know windows that well).
At some point in my program i needed to run another command. and receive its output.
in linux i was using
$input=exec('php some_program.exe');
it works in windows as well, but it has a serious problem. a DOS shell(cmd.exe) pops into the background while the executed program is running.
I cant have this, for if my enduser clicks on the X in the top level window then the executed program closes, without getting the parent program the needed output.
Is there a way in php to execute another program without having the DOS SHELL cmd.exe taking care of it?