Jorge Goncalvez wrote:
> Hi, I have this code:
> $PROG2 = "C:\\cygwin\\usr\\X11R6\\bin\\XWin.exe ";
>                 if (-f $PROG2)
>                 {
>                         system($PROG2)
>                 }
> 
> 
> but I must take some arguments to this:I must execute with theses arguments:
> 
> C:\cygwin\usr\X11R6\bin\XWin.exe -screen 0 800x600x16
> 
> how i can do this?
> 
Just use simple backticks:
if (-f $PROG2) {
  `$PROG2 -screen 0 800x600x16`;
}

Greetings,
Andrea

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

Reply via email to