How to start a flatpak in the background?

Hi,
Normally, I can start a process in the background by appending an ampersand to the command. If I subsequently terminate the parent process, the background process keeps running.
I can’t get this to work with flatpaks.
When I start processes from within a script and then kill that script, the non-flatpak processes keep running, the flatpaks are terminated as well.
How can I start a flatpak in the background?
tnx
(linux mint 19.3 MATE)

1 Like