[Win32utils-devel] Fwd: win32utils-devel post from noreply at rubyforge.org requires approval

Daniel Berger djberg96 at gmail.com
Sun Feb 22 20:16:45 EST 2009


---------- Forwarded message ----------
From:  <win32utils-devel-owner at rubyforge.org>
Date: Sun, Feb 22, 2009 at 11:12 AM
Subject: win32utils-devel post from noreply at rubyforge.org requires approval
To: win32utils-devel-owner at rubyforge.org


As list administrator, your authorization is requested for the
following mailing list posting:

   List:    win32utils-devel at rubyforge.org
   From:    noreply at rubyforge.org
   Subject: [ win32utils-Bugs-24057 ] $? not always set in version 0.2.7
   Reason:  Message has implicit destination

At your convenience, visit:

   http://rubyforge.org/mailman/admindb/win32utils-devel

to approve or deny the request.


---------- Forwarded message ----------
From: <noreply at rubyforge.org>
To: noreply at rubyforge.org
Date: Sun, 22 Feb 2009 13:12:27 -0500 (EST)
Subject: [ win32utils-Bugs-24057 ] $? not always set in version 0.2.7
Bugs item #24057, was opened at 2009-02-22 13:12
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=24057&group_id=85

Category: win32-open3
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: $? not always set in version 0.2.7

Initial Comment:
For some commands $? is not set in version 0.2.7. Seems to work in 0.2.6.

Here is a script to reproduce:
require 'win32/open3'
include Open4

puts Open3::WIN32_OPEN3_VERSION
status = popen4("echo hello") do |stdin,stdout,stderr,pid|
   stdout.each { |line| puts "stdout:"+line }
   stderr.each { |line| puts "stderr:"+line }
end

puts $?.inspect

Ver 0.2.6 output:
0.2.6
stdout:hello
#<Process::Status: pid=1848,exited(0)>

Ver 0.2.7 output:
0.2.7
stdout:hello
nil

----------------------------------------------------------------------

You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=24057&group_id=85


---------- Forwarded message ----------
From: win32utils-devel-request at rubyforge.org
To:
Date: Sun, 22 Feb 2009 13:12:29 -0500
Subject: confirm ef942643392134473777b36da844520daaf5115e
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.


More information about the win32utils-devel mailing list