S
Sol Linderstein
Hi,
I'm trying to do something trivial with ActivePerl on an XP machine
with no success.
C:\PERL\TEST>perl
system("dir");
^D
I get no output. In Unix this command works fine, substituting 'ls'
for 'dir'. My perl install is working because other programs, that
don't spawn external programs produce the expected output to the
screen.
I'm basically trying to call an external program from perl in a
Windows environment and the system/dir example is the easiest one I
can think of and it doesn't produce any output. I've tried various
other things, namely backticking and piping which work in Unix.
What's the trick to spawning external programs from Perl in Windows?
Thanks,
SL
I'm trying to do something trivial with ActivePerl on an XP machine
with no success.
C:\PERL\TEST>perl
system("dir");
^D
I get no output. In Unix this command works fine, substituting 'ls'
for 'dir'. My perl install is working because other programs, that
don't spawn external programs produce the expected output to the
screen.
I'm basically trying to call an external program from perl in a
Windows environment and the system/dir example is the easiest one I
can think of and it doesn't produce any output. I've tried various
other things, namely backticking and piping which work in Unix.
What's the trick to spawning external programs from Perl in Windows?
Thanks,
SL