vmexec-exec(1)
π NAME
okay so bestie, let me introduce you to vmexec-exec β it runs a command in an existing virtual machine π₯οΈβ¨. That's it, that's the whole vibe. You've already got a VM up and running, and you wanna poke something inside it. This is the girl for the job.
πΈ SYNOPSIS
vmexec exec [-e|--env] [-w|--workdir] [-s|--ssh-timeout]
[-i|--interactive] [-t|--tty] [-h|--help] <VMID> [ARGS]
like, that's the whole spell you're casting π
β a pile of flags, your <VMID>, and then whatever [ARGS] you want to actually run in there.
π¦ DESCRIPTION
Run a command in an existing virtual machine. That's THE description, no notes, she said what she said π (the manual page itself is literally called vmexec-exec, section 1 of the General Commands Manual β so you know it's legit).
β¨ OPTIONS β¨
-e,--env <ENV>β set environment variables for the process inside the virtual machine π You can pass this bad boy multiple times β stack 'em up, one variable per flag. Expected format:KEY=VALUE(do not get cute with it, that's the format, periodt).-w,--workdir <WORKDIR>β the working directory inside the virtual machine π ngl the default working directory for running binaries inside a VM depends on the image. Most commonly, it'll be/root. So like, don't @ her if it's somewhere else, it's giving image-dependent energy π-s,--ssh-timeout <SSH_TIMEOUT>β SSH connection timeout πΈ [default:20] She'll try for this long (in seconds) to connect to the virtual machine's SSH server. That's the whole assignment. Tick tock β³-i,--interactive <INTERACTIVE>β make STDIN available to the virtual machine's process π [default:auto] If'auto', this will try to read from stdin if it is available, and do nothing when stdin is not available. If'always', this will try to read from stdin and abort when stdin is not available. No stdin, no service π Possible values:alwaysβ forward stdin and fail if it can't be opened (all or nothing, main character energy π)neverβ don't forward stdinautoβ forward stdin if it can be opened, otherwise carry on without it (the chill one π§)
-t,--tty <TTY>β allocate a pseudo-TTY for the virtual machine π¦ [default:auto] If'auto', this will be enabled in casevmexecis run from an interactive terminal. Yes she's checking the vibe first. Possible values:alwaysβ allocate a pseudo-TTYneverβ don't allocate a pseudo-TTYautoβ allocate a pseudo-TTY if stdout is a terminal
-h,--helpβ print help (see a summary with'-h') π«Ά so helpful of her honestly<VMID>β identifier of a running virtual machine β note the running part bestie, she's not out here starting VMs for you π[ARGS]β arguments to run in the virtual machine π₯ this is the whole point, this is the moment, this is the actual command
heads up babes:<VMID>has to be a running virtual machine, and-hgives you the full help while'-h'gives you the summary. Also-estacks, so bring as many env vars as your heart desires π
π see you, bestie
and that's the page!! footer's giving <pink>exec</pink> on the left and <pink>vmexec-exec(1)</pink> on the right of the General Commands Manual page β no version number, no date, just vibes and a section number. slay, honestly π
β¨π¦
π¦ where this page comes from
- arch rolling: vmexec 0.8.0-1 Β· MIT
- arch rolling: vmexec 0.8.1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms