aerospace-edge exec-and-forget¶
Run /bin/bash -c '
Synopsis¶
aerospace-edge exec-and-forget <bash-script>
Description¶
Run /bin/bash -c '<bash-script>', and don’t wait for the command termination. Stdout, stderr and exit code are ignored.
For example, you can use this command to launch applications:
alt-enter = 'exec-and-forget open -n /System/Applications/Utilities/Terminal.app'
<bash-script> is passed as-is to bash without any transformations or escaping for convenience. <bash-script> is treated as suffix of the TOML string, it’s not even an argument in classic CLI sense
In the above example, exec-and-forget is perceived as String suffix and simply stripped. The remaining open -n /System/Applications/Utilities/Terminal.app is passed as-is to /bin/bash -c '<bash-script>'
-
The command is available in config
-
The command is available neither in CLI, nor in AeroSpace-edge shell (see: shell)