flatpak-enter man page
flatpak-enter — Enter an application
flatpak enter [OPTION...] MONITORPID COMMAND [ARG...]
Enter a running sandbox. SANDBOXEDPID must be the pid of a process running in a flatpak sandbox. COMMAND is the command to run in the sandbox. Extra arguments are passed on to the command.
This creates a new process within the running sandbox, with the same environment. This is useful when you want to debug a problem with a running application.
This command requires extra privileges, so must be run as root or via e.g. sudo.
The following options are understood:
- -h, --help
Show help options and exit.
- -v, --verbose
Print debug information during command processing.
Print version information and exit.
$ flatpak enter 15345 sh