Skip to main content.
home | support | download

Back to List Archive

Re: Running programs on Windows

From: Anthony Baratta <anthony(at)not-real.2plus2partners.com>
Date: Tue Sep 28 2004 - 00:11:52 GMT
At 04:59 PM 9/27/2004, Bill Moseley wrote:
>On Mon, Sep 27, 2004 at 04:49:30PM -0700, Anthony Baratta wrote:
> > >    my @command = ( 'perl', '"my test.pl"', 'first arg1', '"second 
> arg2"' );
> > >
> > >You did name the test program "my test.pl", right?
> >
> > OK - I'm being stupid. You wanted the name to be my test.pl *with my and
> > the space*. Sorry about that - here's the output of that:
>
>Ok, and what version of Windows?

I'm running the code on Windows 2000 Server SP4 Fully Patched. ActiveState 
Perl v5.6.1 Build 638.

>Doesn't seem like the double-quotes are required (but they are
>stripped).  So, doesn't seem like I need to wrap arguments in double
>quotes -- but would need to escape them so Windows doesn't remove
>them.  Broken behavior -- I wonder where that's happening.

No clue. It's bad enough that I can't read and follow directions very well 
today. ;-)
Received on Mon Sep 27 17:12:00 2004