From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,b4758f11aa0ca2b5,start X-Google-Attributes: gidf7344,public X-Google-Thread: f7cd1,b4758f11aa0ca2b5,start X-Google-Attributes: gidf7cd1,public X-Google-Thread: 1164f8,b4758f11aa0ca2b5,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-25 04:12:49 PST Xref: gmd.de comp.sys.dec:7878 comp.os.vms:24080 vmsnet.misc:1250 Newsgroups: comp.sys.dec,comp.os.vms,vmsnet.misc Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!uunet!pipex!uknet!vision!chetanm From: chetanm@visionware.co.uk (Chetan Mistry) Subject: Exec, Spawn, Objects in VMS Message-ID: <1993May25.101807.8847@visionware.co.uk> Sender: chetanm@visionware.co.uk (Chetan Mistry) Organization: VisionWare Ltd., Leeds, UK Date: Tue, 25 May 1993 10:18:07 GMT Whats the best way to exec another program with another program. ? I have a DECnet object which listens for connections and then opens "SYS$NET" channel to read information about which server it has to fire off. The server program should use the same channel (ie. "SYS$NET") to talk to the remote program. Questions :- 1. If I use one of the 6 exec routines (execl, execvp, etc) will I be able to reopen the "SYS$NET" channel from within the server?? 2. Is it possible to do something like this from lib$spawn ?? 3. Is it possible to kill off the original object after it has started server TIA Chet [email: chetanm@visionware.co.uk]