From: Shannon Fang Date: 2002-12-13T06:09:24+09:00 Subject: Re: Ruby 1.7.3 command output capture problem Hi, I have not used FXRuby, but I think probably there may be some compatibility problem in v1.7.3. For example, the following code line.scan('a reg exp') works fine in v1.6.7 but you must change it to line.scan(/a reg exp/) in v1.7.3. I don't know if in future versions, these kind of changes are still expected or not... It is not good for serious use of Ruby... Any comments from the Ruby Executives? Matz? Thanks Shannon On Fri, 13 Dec 2002 03:50:24 +0900 Jason Persampieri wrote: > OK, to fix a threading problem, I upgraded to Ruby > 1.7.3. Threading problem fixed. > > 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. > > Jason