Method: ChildProcess::Windows::Process#stop
- Defined in:
- lib/childprocess/windows/process.rb
#stop(timeout = 3) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/childprocess/windows/process.rb', line 11 def stop(timeout = 3) assert_started log "sending KILL" @handle.send(WIN_SIGKILL) poll_for_exit(timeout) ensure close_handle close_job_if_necessary end |