From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9v?= =?ISO-8859-1?Q?ue?=) Date: 2008-02-02T03:50:03+09:00 Subject: prob with IO.popen if i do : lines = IO.popen( "ls -alR /Users/yt/work/Ruby/IO") lines.each { | line | puts line } i get the expected output of $ ls -alR however (on Mac OS X 10.4.11) the following : cmd = IO.popen( "/usr/bin/nibtool -c MainMenu.nib" ) puts "|#{cmd.readlines}|" gaves me nothing :[ however, using the terminal in command line : $ nibtool -c MainMenu.nib gave me : ------------------------------------------------------------------------ /* Classes */ Classes = { IBClasses = ( { ACTIONS = { "about_win" = id; [...] "toggle_drawer" = id; }; CLASS = AB2Html; LANGUAGE = ObjC; OUTLETS = { "cancel_btn" = id; [...] "theme_cb" = id; }; SUPERCLASS = NSObject; }, {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } ); IBVersion = 1; }; /* End Classes */ ------------------------------------------------------------------------ the expected result how to get the same thing from ruby ??? -- Une B�vue