[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Starting and stopping a child process in Windows

Berger, Daniel

4/27/2005 2:13:00 PM

> -----Original Message-----
> From: Alexey Verkhovsky [mailto:alex@verk.info]
> Sent: Tuesday, April 26, 2005 8:46 PM
> To: ruby-talk ML
> Subject: Starting and stopping a child process in Windows
>
>
> What is the best / most reliable / most obvious way to start
> and kill a child process under Windows? This child process
> happens to be a Webrick application, and I don't care about
> being platform-dependent in this case.

require "win32/process"

Process.create or Process.fork
Process.kill

Regards,

Dan