Method: Cod::Process#terminate
- Defined in:
- lib/cod/process.rb
#terminate ⇒ void
This method returns an undefined value.
Asks the process to terminate by closing its stanard input. This normally closes down the process, but no guarantees are made.
70 71 72 |
# File 'lib/cod/process.rb', line 70 def terminate @pipe.w.close end |