I'm on 98SE and it seems to work OK for me.  Are u sure ur program is
printing to STDOUT and not STDERR?

C:\WINDOWS\Desktop>perl
$a = `hostname`;
print $a;
========
attic

C:\WINDOWS\Desktop>perl
$a = system("hostname");
print $a;
========
attic
0
C:\WINDOWS\Desktop>


At 08:00 PM 7/26/05 -0700, robert wrote:
>but when i call this executable from Perl on a Win98 system, it will not assign
>the resulting output at all.  it wont even print it to the screen.  
>
>ive tried a number of methods:
>
>   $result=system("myprogram.exe $arguments");
>   print "     found:  [$result]\n";
>
>or
>
>   $result=`myprogram.exe $arguments`;
>   print "     found:  [$result]\n";
>




--
REMEMBER THE WORLD TRADE CENTER         ---=< WTC 911 >=--
"...ne cede males"

00000100

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to