Chris wrote:

> # ** **
> #  print "Trying to Run -- system $playerApp ($webCast):\n";
> #  system $playerApp, ($webCast);
> # ** **
> 
> # ** **
>    print "Trying to Run -- exec $playerApp $webCast:\n";
>    exec $playerApp, ($webCast);
> # ** **
>

system() is basically just a fork(), exec(), wait() so if exec() can do it, 
system() should have no problem doing it too.

i tried your code and it worked both time for system() and exec().

you can try trapping the return status from the system() calls and see 
what's in there.

if you don't want exec() to replace your script, you can manually exec() 
after a fork:

fork || exec($playerApp, $webCast);

you also don't need to put () around $webCast

david

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to