Man page - flatpak-spawn(1)
Packages contas this manual
- flatpak-update(1)
- flatpak-ps(1)
- flatpak-document-unexport(1)
- flatpak-build-import-bundle(1)
- flatpak-repo(1)
- flatpak-build-init(1)
- flatpak-flatpakref(5)
- flatpak-enter(1)
- flatpak-spawn(1)
- flatpak-build-update-repo(1)
- flatpak-build-export(1)
- flatpak-config(1)
- flatpakrepo(5)
- flatpak-make-current(1)
- flatpak-document-info(1)
- flatpak-permission-set(1)
- flatpak-run(1)
- flatpak-permission-reset(1)
- flatpak-repair(1)
- flatpak-remote-ls(1)
- flatpak-remote-info(1)
- flatpak-remote-delete(1)
- flatpakref(5)
- flatpak-search(1)
- flatpak-kill(1)
- flatpak-document-export(1)
- flatpak-remote-add(1)
- flatpak-build-bundle(1)
- flatpak-uninstall(1)
- flatpak-permission-show(1)
- flatpak-info(1)
- flatpak-remotes(1)
- flatpak-remote(5)
- flatpak-create-usb(1)
- flatpak-build-finish(1)
- flatpak-installation(5)
- flatpak-pin(1)
- flatpak-permissions(1)
- flatpak-build-sign(1)
- flatpak-install(1)
- flatpak-mask(1)
- flatpak-documents(1)
- flatpak-build-commit-from(1)
- flatpak(1)
- flatpak-flatpakrepo(5)
- flatpak-permission-remove(1)
- flatpak-list(1)
- flatpak-remote-modify(1)
- flatpak-override(1)
- flatpak-history(1)
- flatpak-build(1)
- flatpak-metadata(5)
apt-get install flatpak
Manual
| FLATPAK SPAWN(1) | flatpak spawn | FLATPAK SPAWN(1) |
NAME
flatpak-spawn - Run commands in a sandbox
SYNOPSIS
flatpak-spawn [OPTION...] COMMAND [ARGUMENT...]
DESCRIPTION
Unlike other flatpak commands, flatpak-spawn is available to applications inside the sandbox. It runs COMMAND outside the sandbox: either in another sandbox, or on the host.
When called without --host, flatpak-spawn uses the Flatpak portal to create a copy of the sandbox it was called from, optionally using tighter permissions and optionally the latest version of the app and runtime (see --latest-version).
OPTIONS
The following options are understood:
-h, --help
-v, --verbose
--forward-fd=FD
--clear-env
--watch-bus
--env=VAR=VALUE
--latest-version
--no-network
--sandbox
See the --sandbox-expose and --sandbox-expose-ro options for selective file access.
--sandbox-expose=NAME
Note that absolute paths or subdirectories are not allowed. The files must be in the sandbox subdirectory of the instance directory (i.e. ~/.var/app/$APP_ID/sandbox).
This option is useful in combination with --sandbox (otherwise the instance directory is accessible anyway).
--sandbox-expose-ro=NAME
Note that absolute paths or subdirectories are not allowed. The files must be in the sandbox subdirectory of the instance directory (i.e. ~/.var/app/$APP_ID/sandbox).
This option is useful in combination with --sandbox (otherwise the instance directory is accessible anyway).
--host
--directory=DIR
Note that the given directory must exist in the sandbox or, when used in conjunction with --host, on the host.
EXAMPLES
$ flatpak-spawn ls /var/run
SEE ALSO
flatpak(1)
| flatpak |