Closed Xanderplayz16 closed 2 weeks ago
When using distrobox export it creates a wrapper script with the following command to directly executy a command in a distrobox:
$HOME/.local/bin/distrobox-enter -n name-of-distrobox -- '/usr/bin/code' "$@"
Just read the distrobox-enter
docs/man page/help and you'll see there is a flag for that
Is your feature request related to a problem? Please describe. I am creating a script that uses Distrobox, and I can't find a good way to do this.
Describe the solution you'd like I would like something like a command that runs an program inside a container, like:
distrobox-exec mycontainer "/bin/bash -c 'dosomething | somethingelse && morecompute >/dev/null'"