Documentation ¶
Overview ¶
Package 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 (
// MaxBufferedOutput is the maximum amout of data to save
MaxBufferedOutput = 16 * 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.