When launching my snap from the terminal, I need the user to be able to close the terminal window without it stopping the snap app from running.
In core18 I would use a command ending with an ampersand like this in YAML:
desktop-launch python3 $SNAP/main.py &
But core20 won’t allow the ampersand
& at the end, which is how I disassociate the terminal command from the terminal session when launching the app.
How should I accomplish this same goal in core20?
Some people call it “running in the background,” or “spawning,” or “detaching the process.”
Thanks in advance!