Skip to content

pomme exec

Execute a program in a running VM.

pomme exec [FLAGS] [NAME] -- [COMMAND ...]
Argument Description
NAME VM name. Uses POMME_VM_NAME when omitted before –.
COMMAND Executable and arguments after –.
Flag Description
-d, --detach Create the PTY session without attaching and print its session ID.
-i, --stdin Read binary standard input from the host.
--pty Attach the command to a pseudo-terminal.
--cwd CWD Absolute guest working directory.
-e, --env ENV Guest environment entry in KEY=VALUE form. Repeatable.
--user USER Guest user name.
--uid UID Guest numeric user ID.
--group GROUP Guest group name.
--gid GID Guest numeric group ID.
--guest-stdin GUEST_STDIN Absolute guest file used as standard input.
--guest-stdout GUEST_STDOUT Absolute guest file used as standard output.
--guest-stderr GUEST_STDERR Absolute guest file used as standard error.
--timeout TIMEOUT Time limit in seconds.

This command also accepts the common flags.


Generated from the help text of pomme 0.1.0 (2cde15f-dirty).