MCPcopy Create free account
hub / github.com/One-com/gone / StartProcess

Function StartProcess

sd/process.go:30–89  ·  view source on GitHub ↗

StartProcess starts a new process passing it the open files. It starts a new process using the same environment and arguments as when it was originally started. This allows for a newly deployed binary to be started. It returns the pid of the newly started process when successful.

(env []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ReplaceProcessEnvFunction · 0.85

Calls 1

activeFilesMethod · 0.80

Tested by

no test coverage detected