From: Andreas Schwarz Date: 2007-03-05T03:57:38+09:00 Subject: Re: Strange interference between LSAPI, popen3 and MySQL The problem is easy to reproduce in any Rails app using LSAPI and MySQL. Add the following to a controller action: require 'open3' Open3.popen3('/usr/bin/ls') {|stdout, stdin, stderr| stdin.read } The stdin.read is important. -- Posted via http://www.ruby-forum.com/.