EXEC function
I have the folllowing PHP code on Windows:
$program = "cvs checkout";
$array_cvsget = array();
$cvsretvalue = 0;
exec($program, $array_cvsget, $cvsretvalue);
after execution $array_cvsget contains,
program = cvs checkout
but from command prompt in Windows, it is supposed to be:
cvs [checkout aborted]: must specify at least one module or directory
Anybody know why? Or has anybody got something like:
$program = "cvs checkout -P -r branch Common";
to work ??.
Thanks
|