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: Mon Sep 27 2004 - 22:34:42 GMT
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. Hope this info helps. I'll be trying your over the weekend suggestions 
next.

-=-=-=-=-=-=-=-=-=-=-=-=

C:\Program Files\SWISH-E\indexes\Tmp>perl bill_test_1.pl
Name "main::w" used only once: possible typo at bill_test_1.pl line 11.
Bad file descriptor at bill_test_1.pl line 18, <r> line 3.
Pid = 4816
output:
4816 [first arg1]
4816 [second arg2]
4816 done
done

C:\Program Files\SWISH-E\indexes\Tmp>perl bill_test_1.pl
Name "main::w" used only once: possible typo at bill_test_1.pl line 11.
Bad file descriptor at bill_test_1.pl line 18, <r> line 3.
Pid = 5128
output:
5128 [first arg1]
5128 [second arg2]
5128 done
done

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 = 4844
output:
4844 [first arg1]
4844 [second arg2]
4844 done
done
Received on Mon Sep 27 15:34:54 2004