modern_lisp-machine/misc/scripts/run_anki.sh

12 lines
242 B
Bash
Raw Normal View History

2024-04-02 04:06:40 +00:00
EXEC_SHELL_PATH=$(command -v bash)
# Run Anki with nohup, redirecting output to a log file
nohup flatpak run net.ankiweb.Anki > anki.log 2>&1 &
# Disown the process to remove it from the shell's job table
disown
# Close the terminal
exit