guest_exec

package
v0.0.0-...-7d65031 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2015 License: MIT Imports: 8 Imported by: 1

Documentation

Overview

guest-exec - run command inside vm

Old command version syntax:

{ "execute": "guest-exec", "arguments": {
    "command": string // required, base64 encoded command name to execute with args including newline
  }
}

New command version syntax (preferred):

{ "execute": "guest-exec", "arguments": {
    "path": string, // required, command name to execute
    "arg": string, // optional, arguments to executed command
    "env": string, // optional, environment to executed command
    "input": string, // optional, base64 encoded string
    "capture-output": bool // optional, capture stdout/stderr
  }
}

Index

Constants

View Source
const (
	MAX_BUFFERED_OUTPUT = 16 * 1024 * 1024
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL