Documentation
¶
Overview ¶
Package proc starts stagent processes that must outlive their caller: the daemon (auto-started by whoever needs it first) and detached holders.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SpawnDetached ¶
func SpawnDetached(exe string, args []string, dir string, env []string, logPath string) (int, error)
SpawnDetached starts exe with args in a new session so it survives the caller, its terminal and the SSH connection. stdin/stdout go to /dev/null, stderr is appended to logPath (if non-empty). env nil inherits.
Types ¶
This section is empty.