>> i'm working on a script that executes command line statements on windows
>> servers. i have it working successfully, however i'm not able to get the
>> output of the command on NT and 2000 servers. it seems to work somewhat
on
>> win98.
>
>Is there a reason why you can't use this:
>
>$output = `dir /b`;
much thanks fo the help. i was using that previously and i don't recall why
it wasn't working for me. i became obsessed with getting the Win32::Process
functionality working, i suppose. I'm still wondering if there's a way to
get the ouput when using the process function.
however, a related problem comes up - when executing commands (using either
Win32::Process or the `command` method) - it works great on NT and 2000, but
on Win98/PWS there is an unusual behavior (for me, anyway). First, when i
stand at the Win98 machine while the script is executing, a DOS window
flashes open. The worse part is that I seem to be able to run 2 (and only
2) commands like this, then I have to kill and the inetinfo process and
restart PWS. very weird, it works great twice, then locks up PWS on the
third try. i don't notice any perl.exe processes hanging around. i've
tried this on several machines with the same result.
i'd be interested to hear if anyone else had experienced this...
best,
jason
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web