From: Jean-Hugues ROBERT Date: 2002-06-14T16:10:38+09:00 Subject: Windows, system() & popen() not functionning, v165-2 Hello, I am using the Windows distrib from Pragmatic Programmers, apparently v165-2 (cygwin based I think). On my WinME, system() & popen() don't work. They freeze the machine for a few seconds and then a .readlines() on the file descr is stuck until a potential enclosing timeout() raise an exception. Here is the code: #IO::popen( "fgrep -hE ../../.., *.rb") do |fd| system( "fgrep -hE ../../.., *.rb > tmp.tmp") File.open( "tmp.tmp") do |fd| @statusMsg << fd.readlines.sort() end Anybody else who experienced that before ? Thanks, Jean-Hugues ------------------------------------------------------------------------- Web: http://hdl.handle.net/1030.37/1.1 Phone: +33 (0) 4 92 27 74 17