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?
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.
Thanks,
>
> C:\Program Files\SWISH-E\indexes\Tmp>bill_test_1.pl
> Name "main::w" used only once: possible typo at C:\Program
> Files\SWISH-E\indexes
> \Tmp\bill_test_1.pl line 11.
> Bad file descriptor at C:\Program Files\SWISH-E\indexes\Tmp\bill_test_1.pl line
> 18, <r> line 3.
> Pid = 4784
> output:
> 4784 [first arg1]
> 4784 [second arg2]
> 4784 done
> done
>
>
--
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 16:59:48 2004