Re bonjour
je vais re-rebondir sur ce sujet car la solution a été trouvée.
cf http://www.phpbuilder.com/board/sh [...] t=10315960
function run_in_bg($cmd, $winStyle = 0, $waitOnReturn = false)
{
$WshShell = new COM("WScript.Shell" );
$oExec = $WshShell->Run($cmd, $winStyle, $waitOnReturn);
// $WshShell->Release();
return $oExec;
}
run_in_bg('calc ', 0, false);
run_in_bg('notepad ', 1, false);
voila.