in reply to path with spaces

First, you aren't running the command from Perl. You are opening the file called 'C:\Program Files\Starbase\StarTeam 5.4\stcmd.exe diff'. You need to use a piped open:
open(DODIFF, "$stcmdpath\\stcmd.exe diff |");

Second, you need to quote the command name for the Windows shell.

open(DODIFF, "\"$stcmdpath\\stcmd.exe\" diff |");

Replies are listed 'Best First'.
Re: Re: path with spaces
by gitarwmn (Beadle) on Mar 23, 2004 at 21:07 UTC
    Great, thank you! It's working now.