• felsiq@piefed.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 days ago

    I’m not familiar with the -p flag on Firefox but in general, adding & to the end of your command backgrounds it and disown detaches it from your shell so it doesn’t close.

    firefox -p &; disown should do what you’re looking for, if I’m understanding you right

    • tdTrX@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      ~$ firefox -p &; disown bash: syntax error near unexpected token `;’

    • HubertManne@piefed.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      I swear I have done these kindsof things without having an option that was a word. maybe just & im not sure. I just recall doing it and never recall using disown.