diff --git a/README.md b/README.md index 60481be..b7a9811 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,6 @@ Run commands on your host machine from inside your flatpak sandbox, [toolbox](ht If there's a process that only makes sense to be executed on the host system, you can create a symlink to it somewhere in your $PATH and it'll always be executed through `host-spawn`. -*Note:* you will want to store the symlink in a location visible only to the container, to avoid an infinite loop. If you are using toolbox/distrobox, this means anywhere outside your home directory. I recommend `/usr/local/bin`. See https://github.com/1player/host-spawn/issues/19 for details. - Example of creating a shim for the `flatpak` command: ``` @@ -31,6 +29,9 @@ $ flatpak --version Flatpak 1.12.7 ``` +**Note:** you will want to store the symlink in a location visible only to the container, to avoid an infinite loop. If you are using toolbox/distrobox, this means anywhere outside your home directory. I recommend `/usr/local/bin`. See https://github.com/1player/host-spawn/issues/19 for details. + + ## References * https://github.com/owtaylor/PurpleEgg/blob/master/common/host-command.c