Processes PPID changed to 1 after closing parent shell

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Opening a new terminal and typing the command firefox& inside, ps -l gives :



4 R 1000 23132 23104 99 80 0 - 2177945 - pts/27 00:00:07 firefox


If the terminal is closed, the firefox child process stays open !



Was it always the case ? Isn't firefox supposed to be closed as well ? Is there something new in a recent kernel or something ?



The result of ps -el|grep firefox is then :



4 S 1000 23132 1 14 80 0 - 2233312 poll_s ? 00:00:21 firefox


The PPID has been changed to 1.



What is responsible for this PPID change to 1 ?









share

























    up vote
    0
    down vote

    favorite












    Opening a new terminal and typing the command firefox& inside, ps -l gives :



    4 R 1000 23132 23104 99 80 0 - 2177945 - pts/27 00:00:07 firefox


    If the terminal is closed, the firefox child process stays open !



    Was it always the case ? Isn't firefox supposed to be closed as well ? Is there something new in a recent kernel or something ?



    The result of ps -el|grep firefox is then :



    4 S 1000 23132 1 14 80 0 - 2233312 poll_s ? 00:00:21 firefox


    The PPID has been changed to 1.



    What is responsible for this PPID change to 1 ?









    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Opening a new terminal and typing the command firefox& inside, ps -l gives :



      4 R 1000 23132 23104 99 80 0 - 2177945 - pts/27 00:00:07 firefox


      If the terminal is closed, the firefox child process stays open !



      Was it always the case ? Isn't firefox supposed to be closed as well ? Is there something new in a recent kernel or something ?



      The result of ps -el|grep firefox is then :



      4 S 1000 23132 1 14 80 0 - 2233312 poll_s ? 00:00:21 firefox


      The PPID has been changed to 1.



      What is responsible for this PPID change to 1 ?









      share













      Opening a new terminal and typing the command firefox& inside, ps -l gives :



      4 R 1000 23132 23104 99 80 0 - 2177945 - pts/27 00:00:07 firefox


      If the terminal is closed, the firefox child process stays open !



      Was it always the case ? Isn't firefox supposed to be closed as well ? Is there something new in a recent kernel or something ?



      The result of ps -el|grep firefox is then :



      4 S 1000 23132 1 14 80 0 - 2233312 poll_s ? 00:00:21 firefox


      The PPID has been changed to 1.



      What is responsible for this PPID change to 1 ?







      linux bash linux-kernel process





      share












      share










      share



      share










      asked 3 mins ago









      bob dylan

      3321311




      3321311

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476191%2fprocesses-ppid-changed-to-1-after-closing-parent-shell%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476191%2fprocesses-ppid-changed-to-1-after-closing-parent-shell%23new-answer', 'question_page');

          );

          Post as a guest













































































          TAt01i5tkt0eGlO FMIsBnFiVbgzvxtaBN7D5ohQ9bJg kQ t,US,G2ij59raos3 arl,kRBH wNZLjLM,Mu VP
          4pswWheYj,rCOPoPtg8g G,3S23mX

          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          How many registers does an x86_64 CPU actually have?

          Displaying single band from multi-band raster using QGIS