Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!nrl-cmf!ukma!psuvm.bitnet!cunyvm!unknown
From: rrk@byuvax.bitnet
Newsgroups: comp.os.vms
Subject: Re: Spawning without a CLI.
Message-ID: <144rrk@byuvax.bitnet>
Date: 24 Jun 88 16:05:18 GMT
Lines: 12


Spawning is a function of the CLI with all the fancy things you can do from
lib$spawn.  You can't call lib$spawn from a detached process.  You have
several alternatives:

1. Create your process in a batch queue so it has a CLI.

2. Run sys$system:loginout /input= to start your detached
process

3. Don't use lib$spawn...use $creprc (quite a bit harder to use than lib$spawn
if you need full functionality).  If your subprocess needs to perform CLI
type funtions, then specify sys$system:loginout.exe as it's image, and input
as a command procedure.