From: Jason Persampieri Date: 2002-12-13T07:07:21+09:00 Subject: Re: Ruby 1.7.3 command output capture problem Right. The problem is specific to rubyw.exe rubyw -e "File.open('test.txt','w+') {|f| f.write `dir`}" works as expected on 1.6.7, but doesn't work on 1.7.3. Jason --- nobu.nokada@softhome.net wrote: > Hi, > > At Fri, 13 Dec 2002 03:50:24 +0900, > Jason Persampieri wrote: > > However, I am now having an issue with capturing > > output of a system command when running with > rubyw.exe > > > > Is this a known issue? > > > > output = `dir` > > outText.appendText(output) #this is an FXRuby > thing > > > > works fine on 1.6.7, but fails to return anything > on > > 1.7.3. > > "ruby -e 'p `dir`'" worked fine. Could you show the > minimal > code reproduces the issue? > > -- > Nobu Nakada >