os.close()
Releases a spawned process.
Signature
os.close(handle)
Parameters
Open process handle.
Returns
Null.
Behavior
Terminates a child that is still running and releases its resources.
Errors
Wrong owner or closed handle.
Example
use os
if os.platform != 'windows':
p = os.spawn(['echo', 'Atom'])
os.close(p)