Run NodesReferencevmsrpcchainvmruntime

subprocess

Package subprocess

import "github.com/luxfi/node/vms/rpcchainvm/runtime/subprocess"

Functions

NewCmd

func NewCmd(path string, args ...string) *exec.Cmd

NewStopper

func NewStopper(logger log.Logger, cmd *exec.Cmd) runtime.Stopper

Types

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)