win32 $? or GetExitCode does not work? 
Author Message
 win32 $? or GetExitCode does not work?

Hi all,

How can you get the return code from another process on Win32?

I have tried

        close pipe w/ $?
        Win32::Process GetExitCode()

but none of them seems to work. I always get a return code of 0!

MKS ksh can get the exit code, even DOS batch ERRORLEVEL can get
it right. What a shame Perl cannot.

I'm using ActiveWare Perl for Win32 build 306 on Windows 95.

Any one know what's wrong?



Fri, 14 Jan 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Win32::Process::GetExitCode - meaning

2. Win32::Registry not working

3. Why i install Win32:GD not working?

4. INSERT INTO not working with Win32:ODBC

5. SetOption not working (Win32::Internet)

6. Win32::DDE will not work 5.8

7. SetOption not working properly (Win32::Internet)

8. win32::netadmin does not work

9. Win32::ChangeNotify not working under Win NT

10. UNC-Path (Win32) not working in @INC or $ENV{PERLLIB}

11. Win32::process::create does not work

12. open statement in Perl for Win32 not working


Powered by phpBB® Forum Software