home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / vmsnet / networks / tcpip / multinet / 1960 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.1 KB  |  27 lines

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