noreply at rubyforge.org
2006-May-29 21:07 UTC
[Win32utils-devel] [ win32utils-Patches-4603 ] [open3] set $? and return Process::Status with block call
Patches item #4603, was opened at 2006-05-29 16:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85 Category: win32-open3 Group: Bug Fix Status: Open Resolution: None Priority: 3 Submitted By: John-Mason Shackelford (jpshackelford) Assigned to: Nobody (None) Summary: [open3] set $? and return Process::Status with block call Initial Comment: This is another version Samuel Tesla''s patch which sets $? and also returns the Process::Status when popen3/4 is called with a block (i.e. this patch merges changes from the two patches Samuel submitted). Note that this implementation is not thread-safe. As the attachment will demonstrate. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85
noreply at rubyforge.org
2006-Jun-02 03:13 UTC
[Win32utils-devel] [ win32utils-Patches-4603 ] [open3] set $? and return Process::Status with block call
Patches item #4603, was opened at 2006-05-29 14:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85 Category: win32-open3 Group: Bug Fix Status: Open Resolution: None Priority: 3 Submitted By: John-Mason Shackelford (jpshackelford) Assigned to: Nobody (None) Summary: [open3] set $? and return Process::Status with block call Initial Comment: This is another version Samuel Tesla''s patch which sets $? and also returns the Process::Status when popen3/4 is called with a block (i.e. this patch merges changes from the two patches Samuel submitted). Note that this implementation is not thread-safe. As the attachment will demonstrate. ---------------------------------------------------------------------->Comment By: Daniel Berger (djberg96)Date: 2006-06-01 20:13 Message: The patch looks good to me. I''m not particularly worried about thread safety issues when it comes to running external programs, so I''m not going to worry about it. I''ll have Heesob take a look. Thanks, Dan ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85
noreply at rubyforge.org
2006-Jun-18 14:37 UTC
[Win32utils-devel] [ win32utils-Patches-4603 ] [open3] set $? and return Process::Status with block call
Patches item #4603, was opened at 2006-05-29 14:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85 Category: win32-open3 Group: Bug Fix Status: Open Resolution: None Priority: 3 Submitted By: John-Mason Shackelford (jpshackelford) Assigned to: Nobody (None) Summary: [open3] set $? and return Process::Status with block call Initial Comment: This is another version Samuel Tesla''s patch which sets $? and also returns the Process::Status when popen3/4 is called with a block (i.e. this patch merges changes from the two patches Samuel submitted). Note that this implementation is not thread-safe. As the attachment will demonstrate. ---------------------------------------------------------------------->Comment By: Daniel Berger (djberg96)Date: 2006-06-18 07:37 Message: Hi again, After reading your post again I realized that $? is only set when the block form is used. Is there any way to set $? when the non-block form is used? What does the Unix variant do? If that doesn''t make sense, or is just too difficult, then I won''t worry about it. I thought I would ask, though. Dan ---------------------------------------------------------------------- Comment By: Daniel Berger (djberg96) Date: 2006-06-01 20:13 Message: The patch looks good to me. I''m not particularly worried about thread safety issues when it comes to running external programs, so I''m not going to worry about it. I''ll have Heesob take a look. Thanks, Dan ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85
noreply at rubyforge.org
2006-Jul-03 02:48 UTC
[Win32utils-devel] [ win32utils-Patches-4603 ] [open3] set $? and return Process::Status with block call
Patches item #4603, was opened at 2006-05-29 14:07 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85 Category: win32-open3 Group: Bug Fix>Status: Closed >Resolution: AcceptedPriority: 3 Submitted By: John-Mason Shackelford (jpshackelford) Assigned to: Nobody (None) Summary: [open3] set $? and return Process::Status with block call Initial Comment: This is another version Samuel Tesla''s patch which sets $? and also returns the Process::Status when popen3/4 is called with a block (i.e. this patch merges changes from the two patches Samuel submitted). Note that this implementation is not thread-safe. As the attachment will demonstrate. ---------------------------------------------------------------------->Comment By: Daniel Berger (djberg96)Date: 2006-07-02 19:48 Message: Now in 0.2.3. Many thanks. - Dan ---------------------------------------------------------------------- Comment By: Daniel Berger (djberg96) Date: 2006-06-18 07:37 Message: Hi again, After reading your post again I realized that $? is only set when the block form is used. Is there any way to set $? when the non-block form is used? What does the Unix variant do? If that doesn''t make sense, or is just too difficult, then I won''t worry about it. I thought I would ask, though. Dan ---------------------------------------------------------------------- Comment By: Daniel Berger (djberg96) Date: 2006-06-01 20:13 Message: The patch looks good to me. I''m not particularly worried about thread safety issues when it comes to running external programs, so I''m not going to worry about it. I''ll have Heesob take a look. Thanks, Dan ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=413&aid=4603&group_id=85
Apparently Analagous Threads
- [ win32utils-Feature Requests-3502 ] Allow win32-open3 to take a block
- [ win32utils-Support Requests-12080 ] How would one add these packages as a dependency to a cross-platform gem?
- [ win32utils-Patches-4121 ] Make it possible to read process exit status
- Open3.popen3 bug
- [ win32utils-Bugs-20455 ] win32-open3: crashes after 170 popen3 operations