## ams.amc exec Execute a command inside an instance ### Synopsis Execute a command inside an instance. To use flags in your command, you must isolate the command with the '--' separator. The command is executed directly using exec, so there is no shell. Shell patterns (variables, file redirects ...) won't be understood. If you need a shell environment, execute the shell command and pass the actual command as an argument (see the example below). ``` ams.amc exec [--] [flags] ``` ### Examples ``` $ amc exec -- sh -c "cd /tmp && pwd" ``` ### Options ``` -T, --force-noninteractive Disable pseudo-terminal allocation -h, --help help for exec ``` ### SEE ALSO * [ams.amc](ams.amc.md) - Anbox Management Client ###### Auto generated by spf13/cobra on 12-Dec-2024