You must log in or register to comment.
I’m not familiar with the -p flag on Firefox but in general, adding
&to the end of your command backgrounds it anddisowndetaches it from your shell so it doesn’t close.firefox -p &; disownshould do what you’re looking for, if I’m understanding you right~$ firefox -p &; disown bash: syntax error near unexpected token `;’
Looks like I’ve gotten too spoiled with zsh, I guess that doesn’t work with bash. Doing it in two separate commands should work tho, ie
firefox -p &and thendisown

