From: Michael Linfield Date: 2009-03-16T12:59:51+09:00 Subject: Re: execle ruby process from C ? > The second string is concatenated at compile time into > "/usr/bin/ruby test.rb", so you execute ruby with only that one > argument, which is counted as the program name. Therefore ruby > waits script from stdin. The HTTP server shouldn't be waiting for stdin because test.rb never calls for it. The server isn't returning a value because it isn't being sent to the server, it's being sent to the shell. If it was waiting for input from stdin then hitting enter would return an input value...nil...and it would return as such. - Mac -- Posted via http://www.ruby-forum.com/.