[rspec-users] Spec Server on Windows - missing fork

Dean Radcliffe lists at ruby-forum.com
Sat Aug 2 13:20:09 EDT 2008


Exactly the kind of monkey patch I was looking for - thanks Luis !

I also saw you could edit the spec_server file to make

if options[:daemon]

into

if options[:daemon] and false or something similar, but a no touch 
solution like yours is nice, and thanks for the Ctrl-Break tip.

D


Luis Lavena wrote:
> 
> No fork() love for us Windows users, try putting this into a batch file
> (like spec_server.bat)
> 
> @echo off
> start "spec_server" /min ruby.exe script\spec_server
> 
> One problem is that spec_server is not trapping Ctrl-C, so you will 
> require
> to use Ctrl-break to stop the minized spec_server.
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list