.ie \n(.g .ds Aq \(aq .el .ds Aq ' .TH vmexec-exec 1 "exec " .SH NAME vmexec\-exec \- Run a command in an existing virtual machine .SH SYNOPSIS \fBvmexec exec\fR [\fB\-e\fR|\fB\-\-env\fR] [\fB\-s\fR|\fB\-\-ssh\-timeout\fR] [\fB\-i\fR|\fB\-\-interactive\fR] [\fB\-t\fR|\fB\-\-tty\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIVMID\fR> [\fIARGS\fR] .SH DESCRIPTION Run a command in an existing virtual machine .SH OPTIONS .TP \fB\-e\fR, \fB\-\-env\fR=\fIENV\fR Set environment variables for the process inside the virtual machine Can be provided multiple times. Expected format: KEY=VALUE .TP \fB\-s\fR, \fB\-\-ssh\-timeout\fR=\fISSH_TIMEOUT\fR [default: 20] SSH connection timeout Try for this long (in seconds) to connect to the virtual machine\*(Aqs SSH server. .TP \fB\-i\fR, \fB\-\-interactive\fR=\fIINTERACTIVE\fR [default: auto] Make STDIN available to the virtual machine\*(Aqs process If \*(Aqauto\*(Aq, this will try to read from stdin if it is available, and do nothing when stdin is not available. If \*(Aqalways\*(Aq, this will try to read from stdin and abort when stdin is not available. .br .br [\fIpossible values: \fRalways, never, auto] .TP \fB\-t\fR, \fB\-\-tty\fR=\fITTY\fR [default: auto] Allocate a pseudo\-TTY for the virtual machine If \*(Aqauto\*(Aq, this will be enabled in case vmexec is run from an interactive terminal. .br .br [\fIpossible values: \fRalways, never, auto] .TP \fB\-h\fR, \fB\-\-help\fR Print help (see a summary with \*(Aq\-h\*(Aq) .TP <\fIVMID\fR> Identifier of a running virtual machine .TP [\fIARGS\fR] Arguments to run in the virtual machine