home *** CD-ROM | disk | FTP | other *** search
- X-Gateway-Source-Info: INTERNET
- Path: sparky!uunet!munnari.oz.au!network.ucsd.edu!mvb.saic.com!tgv.com!info-multinet
- Date: 15 AUG 92 05:55:13 GMT
- Newsgroups: vmsnet.networks.tcp-ip.multinet
- X-Return-path: <info-multinet-relay@TGV.COM>
- X-RFC822-From: adelman (Kenneth Adelman) @ TGV.COM
- From: adelman@TGV.COM
- Subject: Re: exec() from user-written service (NOCLI)
- Organization: The INFO-MULTINET Community
- Message-ID: <2A60046315AUG92055513@TGV.COM>
- Nntp-Posting-Host: Mvb.Saic.Com
- Lines: 13
-
- > i am running into the NOCLI error when my server tries to
- > run exec() in a child subprocess. the server has been
- > registered with the multinet master server and is started
- > as a detached process by it when a client request comes.
- > I guess exec() calls LIB$SPAWN or LIB$RUN_PROGRAM internally,
- > which abort when the parent process has no CLI present.
-
- I think exec() calls LIB$SPAWN() which requires a CLI to function;
- A server process created by the MULTINET_SERVER doesn't have a CLI
- and can't use LIB$SPAWN. You'd need to call SYS$CREPRC() and specify
- an image of LOGINOUT and an input of your command file.
-
- Ken
-