AEROSPACE-EXEC-AND-FORGET(1)

πŸ“¦ version 0.21.3-Beta, in nixpkgs unstable

✨ AEROSPACE-EXEC-AND-FORGET ✨

okay so bestie, this one's from the AeroSpace manual, section 1 🫢 buckle up, it's a short one and it slays.


🌸 NAME 🌸

aerospace-exec-and-forget β€” literally just runs /bin/bash -c '<bash-script>' and dips πŸ’¨


πŸŽ€ SYNOPSIS πŸŽ€

aerospace exec-and-forget <bash-script>

πŸ’… DESCRIPTION πŸ’…

So here's the vibe: it runs /bin/bash -c '<bash-script>' and then does not wait for the command to finish. Not even a little. It's giving "seen at 3:47pm" energy 😭

The stdout, the stderr, and the exit code? All ignored. Zero notes. No cap. πŸ’€

Like, for example β€” you can use this to launch apps:

alt-enter = 'exec-and-forget open -n /System/Applications/Utilities/Terminal.app'

Now the iconic part: <bash-script> is passed as-is to bash, with no transformations and no escaping, purely for convenience. <bash-script> is treated as a suffix of the TOML string β€” it's not even an argument in the classic CLI sense. Iconic behaviour honestly πŸ‘‘

In the example above, exec-and-forget is perceived as a String suffix and simply stripped. The remaining open -n /System/Applications/Utilities/Terminal.app gets passed as-is to /bin/bash -c '<bash-script>' ✨


🌈 RESOURCES 🌈


πŸ¦‹ BUGS πŸ¦‹

Found a bug? First of all, my condolences 😭 Report it here:

https://github.com/nikitabobko/AeroSpace/discussions/categories/potential-bugs

The maintainers will move verified bugs over to:

https://github.com/nikitabobko/AeroSpace/issues


πŸ‘‘ LICENSE πŸ‘‘

Copyright Β© 2023 Nikita Bobko

Free use of this software is granted under the terms of the MIT License. You can find the full text of the AeroSpace license and its dependencies in the 'legal' directory of the distributed zip archive πŸ“


πŸ’– AUTHOR πŸ’–

Nikita Bobko and contributors


fr fr, that's the whole page. no extra lore, no hidden flags. it's just a bash script launcher that refuses to be clingy πŸ’…

AeroSpace Β· 2026-07-16 Β· AEROSPACE-EXEC-AND-FORGET(1) β€” mwah, bye bestie! πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from