<?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 how to put a process to background in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129956#M91084</link>
    <description>Hi&lt;BR /&gt;vms,want to run a programe and put to background.&lt;BR /&gt;for example&lt;BR /&gt;$run a.exe &lt;BR /&gt;how to put process was created by a.exe to background.&lt;BR /&gt;&lt;BR /&gt;thanks first</description>
    <pubDate>Tue, 16 Sep 2008 07:18:25 GMT</pubDate>
    <dc:creator>edward wang_1</dc:creator>
    <dc:date>2008-09-16T07:18:25Z</dc:date>
    <item>
      <title>how to put a process to background</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129956#M91084</link>
      <description>Hi&lt;BR /&gt;vms,want to run a programe and put to background.&lt;BR /&gt;for example&lt;BR /&gt;$run a.exe &lt;BR /&gt;how to put process was created by a.exe to background.&lt;BR /&gt;&lt;BR /&gt;thanks first</description>
      <pubDate>Tue, 16 Sep 2008 07:18:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129956#M91084</guid>
      <dc:creator>edward wang_1</dc:creator>
      <dc:date>2008-09-16T07:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a process to background</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129957#M91085</link>
      <description>VMS is not Unix :-)&lt;BR /&gt;&lt;BR /&gt;DCL allows one image at a time in the "foreground".&lt;BR /&gt;You have to run the program in the "background" from the beginning using the SPAWN command like&lt;BR /&gt; SPAWN/NOWAIT run a.exe&lt;BR /&gt;&lt;BR /&gt;And see the ATTACH command to bring a spawned process into the "foreground".&lt;BR /&gt;And caveat for terminal interactions of spawned subprocesses: one should not simply spawn a screen-oriented editor this simple way (search for "KEPT EDIT" to see how).&lt;BR /&gt;&lt;BR /&gt;See also the RUN /DETACHED command to run a program completely independent from the current process or login.&lt;BR /&gt;Search for DETACHED AND LOGINOUT in this forum.</description>
      <pubDate>Tue, 16 Sep 2008 07:39:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129957#M91085</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2008-09-16T07:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a process to background</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129958#M91086</link>
      <description>Edward,&lt;BR /&gt;&lt;BR /&gt;firstly, I think you need to put "Unix-style thinking" a nit out of your mind.&lt;BR /&gt;&lt;BR /&gt;$ run x.exe does _NOT_ create its own process, it run in the context of the process issuing it.&lt;BR /&gt;&lt;BR /&gt;If you want it in a separate process, either&lt;BR /&gt;$ RUN/DETACH a.exe&lt;BR /&gt;( creates something comparable to a deamon process)&lt;BR /&gt;or&lt;BR /&gt;$ SPAWN some-comfile-which contains $ run a.exe&lt;BR /&gt;(creates a child process running the programm)&lt;BR /&gt;or&lt;BR /&gt;same with /NOWAIT qualifier added&lt;BR /&gt;(creates background process much in Unix style, except terminating the issuing process also "kills" the child)&lt;BR /&gt;or (preferably)&lt;BR /&gt;$ SUBMIT some-com-filewhich contains a.o. the RUN command.&lt;BR /&gt;This is more-or-less comparable to CRON job&lt;BR /&gt;SUBMIT has its own qualifiers which give a lot of control over the execution.&lt;BR /&gt;See $ HELP submit for specifics.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Sep 2008 07:44:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129958#M91086</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-09-16T07:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a process to background</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129959#M91087</link>
      <description>Edward,&lt;BR /&gt;&lt;BR /&gt;As Joe and Jan have stated, VMS is not *IX. The concepts behind process management are not the same.&lt;BR /&gt;&lt;BR /&gt;If I had to guess, the most likely solution would be either a batch job (using the SUBMIT command) or a sub-process (using SPAWN/NOWAIT). Both are ordinary user operations requiring no additional privileges.&lt;BR /&gt;&lt;BR /&gt;RUN/DETACH requires the DETACH privilege.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 16 Sep 2008 09:53:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129959#M91087</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-09-16T09:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a process to background</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129960#M91088</link>
      <description>thank you so much for all reply</description>
      <pubDate>Tue, 16 Sep 2008 10:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129960#M91088</guid>
      <dc:creator>edward wang_1</dc:creator>
      <dc:date>2008-09-16T10:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to put a process to background</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129961#M91089</link>
      <description>Load GNV and the bash shell, and push the command into the background using the usual mechanisms.  AFAIK, this works just fine on OpenVMS.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Sep 2008 15:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-put-a-process-to-background/m-p/5129961#M91089</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-09-16T15:20:57Z</dc:date>
    </item>
  </channel>
</rss>

