Discover Packages
github.com/l0k1verloren/pod
pkg
stdconn
worker
package
Version:
v0.0.0-...-d4978fa
Opens a new window with list of versions in this module.
Published: Dec 1, 2019
License: Unlicense
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type Worker Spawn(args) (w) Kill() (w) Stop()
Documentation
¶
Spawn starts up an arbitrary executable file with given arguments and
attaches a connection to its stdin/stdout
Kill forces the child process to shut down without cleanup
Stop signals the worker to shut down cleanly.
Note that the worker must have handlers for os.Signal messages.
It is possible and neater to put a quit method in the IPC API and use the
quit channel built into the StdConn
Source Files
¶
Click to show internal directories.
Click to hide internal directories.