in reply to 'system' not working!

I have had similar problems with paths that contain spaces, and i usually end up using the DOS names for the directory, just to be sure, maybe :
$VSS = 'D:\progra~1\micros~3\common\VSS\win32\ss.exe'; #... system($VSS,'ss','checkout -I-');

I also moved the parens on system, because i thought it made cleared the precedence you wanted, but i don't suspect that is a cause for error. If you still suspect it, you could use fork() and exec() yourself.
i had a memory leak once, and it ruined my favorite shirt.

Replies are listed 'Best First'.
Re: Re: 'system' not working!
by John M. Dlugosz (Monsignor) on Oct 26, 2001 at 02:59 UTC
    Good idea re the spaces. I'll try that.

    Changing the parens changed the meaning, though. Take out the 'ss' if you do that.