From: Rails Crazy Idiot Date: 2011-08-23T20:15:46+09:00 Subject: win32-open3 Issue Hi All, Have a small issue with the win32-open3 gem. I have written a code for running commands and capturing the output and error using the win32-open4(win32-open3-19) gem in the windows platform. This is working properly. Open4.popen4(command_to_be_executed) do |stdin,stdout,stderr,pid| ..... code logic end I also have written specs to validate the logic. When running the specs individually like "spec spec/file_name_spec.rb" or by running on the spec directory like "spec spec/", the specs are able to run successfully. Now, I wanted to invoke these specs with the rake and added a rake task "rake spec" in the Rakefile of the root directory. when the rake spec is run, there is an error which is being thrown telling that "fork() function is unimplemented on this machine" We can see that instead of the "win32-open3" functionality, the default open3 functionality is being invoked. Requiring the 'win32-open3' in the spec_helper, the rake file and other dependent places also didn't work either. Please can anybody help in this regards. Thanks in advance for the help. Sandy -- Posted via http://www.ruby-forum.com/.