<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: forking a new process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821687#M940205</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;in addition you'll have to set the SIG_CHLD to *ignore* BEFORE you call "fork(2)"!&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
    <pubDate>Wed, 09 Oct 2002 19:35:52 GMT</pubDate>
    <dc:creator>Wodisch</dc:creator>
    <dc:date>2002-10-09T19:35:52Z</dc:date>
    <item>
      <title>forking a new process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821683#M940201</link>
      <description>Inside a C program, how can I launch a new application and let it running even if parent process die without becoming a zombie?&lt;BR /&gt;Does the new application get a parent pid equal to 1 ?</description>
      <pubDate>Wed, 09 Oct 2002 08:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821683#M940201</guid>
      <dc:creator>siaemic</dc:creator>
      <dc:date>2002-10-09T08:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: forking a new process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821684#M940202</link>
      <description>man exec &lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 09 Oct 2002 10:10:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821684#M940202</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-10-09T10:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: forking a new process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821685#M940203</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Choose one of the following&lt;BR /&gt;&lt;BR /&gt;execl(), execle(), execlp(), execv(), execve(), execvp()&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Oct 2002 10:39:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821685#M940203</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2002-10-09T10:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: forking a new process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821686#M940204</link>
      <description>I usually do things like this...&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt; if (signal (SIGCHLD, SIG_IGN) == -1)&lt;BR /&gt;   perror("signal");&lt;BR /&gt;&lt;BR /&gt; if ( (pid = fork()) &amp;lt; 0)&lt;BR /&gt;   perror("fork");&lt;BR /&gt; else if (pid == 0) {  /* child */&lt;BR /&gt;   setsid(); /* become leader */&lt;BR /&gt;   execlp ("cmd", "arg0", "arg1", (char*) 0); /* run your prg */&lt;BR /&gt;   perror ("execlp");&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;/* parent continues */</description>
      <pubDate>Wed, 09 Oct 2002 15:45:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821686#M940204</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-10-09T15:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: forking a new process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821687#M940205</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;in addition you'll have to set the SIG_CHLD to *ignore* BEFORE you call "fork(2)"!&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Oct 2002 19:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821687#M940205</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-10-09T19:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: forking a new process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821688#M940206</link>
      <description>Hmm, Wodisch.... do I miss something? I call signal() before fork()ing.</description>
      <pubDate>Thu, 10 Oct 2002 06:19:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821688#M940206</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2002-10-10T06:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: forking a new process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821689#M940207</link>
      <description>Dietmar,&lt;BR /&gt;&lt;BR /&gt;you are right - and I was blind :-(</description>
      <pubDate>Thu, 10 Oct 2002 15:02:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/forking-a-new-process/m-p/2821689#M940207</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-10-10T15:02:21Z</dc:date>
    </item>
  </channel>
</rss>

