subprocess
Package subprocess
import "github.com/luxfi/node/vms/rpcchainvm/runtime/subprocess"Functions
NewCmd
func NewCmd(path string, args ...string) *exec.CmdNewStopper
func NewStopper(logger log.Logger, cmd *exec.Cmd) runtime.StopperTypes
Config
Config contains subprocess configuration.
Status
Status contains subprocess status after successful bootstrap.
func Bootstrap(
ctx context.Context,
listener net.Listener,
cmd *exec.Cmd,
config *Config,
) (*Status, runtime.Stopper, error)