my script:
use FindBin;
$strRealPathPs = $FindBin::RealBin;
$strCommand = $strRealPathPs . '\ps.exe';
$strCommandOut = `$strCommand`;
if($! && length($!) > 0)
{ print ("pkEngineStatus(): error occurred during the ps started: $!\n");
}
...
Gives an error:
The name specified is not recognized as an
internal or external command, operable program or batch file.
pkEngineStatus(): error occurred during the ps started: No such file or
directory
ps.exe is located in this directory.
[EMAIL PROTECTED] wrote:
> [...]
>
> VT> [...] if there is space in the path [...] I'm not able to start that exe
>
> print `c:\\my test\\testing.pl`; # works properly
>
> maybe you're using '\' instead of '\\' ?
>
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs