rrk@byuvax.bitnet (06/24/88)
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=<command procedure> 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.