On 2008-11-16, at 17:46, Scott Taylor wrote:
On Nov 16, 2008, at 2:40 PM, Nick Hoffman wrote:
Hi guys. Occasionally, I'll want to kill a long spec process that's running. Usually I hit CTRL+c to kill a running process, but doing that for a running spec just causes "^C" to be printed to the terminal, and whichever spec example was running to fail.

I've also tried using /bin/kill to kill the spec process, but that just causes whichever spec example was running to catch a SignalException, and fail.

What signal are you sending?  Is it a kill -9 (a KILL, a TERM, ...?)?

Scott

I've just been running it as ``kill 12345''. I stay away from -9, as it's a pretty harsh thing to do. I haven't tried other signals though, so I should give them a whirl and report back if any of them succeed in killing the entire spec process.
-Nick
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to