[Win32utils-devel] open3 test

win32utils-devel at rubyforge.org win32utils-devel at rubyforge.org
Thu May 13 23:49:08 EDT 2004


Just for kicks, I thought I'd give the following a shot:

require "win32/process"
require "open3"

sin,sout,serr = Open3.popen3("echo %PATH%")

p sout.gets
p serr.gets

Returns nil for both, but hey, at least it doesn't crash. :)

Dan




More information about the win32utils-devel mailing list