From: Roger Pack Date: 2008-01-01T00:46:07+09:00 Subject: Re: deadlock in ThreadPool using backtick > I'm using the ThreadPool class as defined in the Ruby Cookbook, recipe > 20.7 and running on Windows XP with the One Click installer of Ruby > 1.8.6 patch level 0. Normally it works fine. However, whenever I call > a command using backticks I get a deadlock. The script I'm running is > below, followed by the output. To see it succeed, comment out the > backtick line and uncomment out the system line. Turns out that using backticks with OS X can cause threads to lock up, too, in a multi-threaded environment. Not sure if this is a prob with backticks or just Ruby I/O in general, or just mac OS X/win32 specific (doubtful on the last one). GL -Roger -- Posted via http://www.ruby-forum.com/.