From: Jun Young Kim Date: 2009-04-15T19:13:35+09:00 Subject: using popen Hi, all. look this code. ---------------------------------------------------------- require 'open3' include Open3 stdin, stdout, stderr = popen3("ls") puts stdout.sysread(1024) ---------------------------------------------------------- this code shows up a file list normally. but, THIS CODE ---------------------------------------------------------- require 'open3' include Open3 stdin, stdout, stderr = popen3("ftp ftp.gnu.org") puts stdout.sysread(1024) ---------------------------------------------------------- looks like a hang. Could you tell me why this thing is happened?