From: "Miroslav S." Date: 2013-04-15T03:08:59+09:00 Subject: Re: Sending signal to win process Hello, thank you for your reply.. > Try increasing the sleep time in test.rb to 5 > seconds. That should be plenty, and if you get the same result as > before, perhaps there's a problem with this on Windows! No, this is fine. Sleep 5 didn't change anything (I can see the counter from test.rb even with sleep 1) > PS: Perhaps you should try forking your test2 if spawn does not work. Fork is not implemented for Windows :( I tried use backticks but same result. > But I suggest using threads instead if at all possible! I have many stand-alone scripts and their count is incrementing, so I can't use threads. I tried this on Windows 2008 server with same result (dev PC is running Win7 64b) If this doesn't work, I'll put in every script small TCPSocket listener and tell them to stop :) -- Posted via http://www.ruby-forum.com/.