Skip to main content.
home | support | download

Back to List Archive

Re: Running programs on Windows

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Mon Sep 27 2004 - 22:48:34 GMT
On Mon, Sep 27, 2004 at 03:34:07PM -0700, Anthony Baratta wrote:
> At 12:36 PM 9/27/2004, Bill Moseley wrote:
> >Following our discussions last week... can I get a few Windows users
> >to help test something?
> 
> I had to make one tweak to get it to work:
> 
> my @command = ( 'perl', 'my test.pl', 'first arg1', '"second arg2"' );
> 
> I had to drop the "my " in front of test.pl. ActiveState Perl didn't like 
> it.

Oh, but that was part of the test.  How does active state not like it?
Does it work if you use double quotes?

   my @command = ( 'perl', '"my test.pl"', 'first arg1', '"second arg2"' );

You did name the test program "my test.pl", right?

Thanks,



-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Mon Sep 27 15:48:54 2004