Displaying 2 results from an estimated 2 matches for "rb_last_status".
2006 Apr 16
3
[ win32utils-Patches-4121 ] Make it possible to read process exit status
Patches item #4121, was opened at 2006-04-16 12:07
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=413&aid=4121&group_id=85
Category: win32-open3
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Samuel Tesla (stesla)
Assigned to: Nobody (None)
Summary: Make it possible to read process exit status
Initial Comment:
The UNIX Open3 sets the
2006 Jul 03
0
[ win32utils-Patches-4121 ] Make it possible to read process exit status
...much behave
exactly like the unix open3.
----------------------------------------------------------------------
Comment By: Samuel Tesla (stesla)
Date: 2006-04-17 15:57
Message:
One thing to note. My C-foo on windows isn''t the greatest.
There /is/ a global variable in process.c called
rb_last_status which is what is hooked up to $?. In io.c
and eval.c that variable is used as an extern. I don''t know
if you can get to that from a DLL. I tried just doing
"extern VALUE rb_last_status" but always got a blow-up when
I assigned to it. If there''s some way to declare it...