[mod.computers.vax] VMS subprocess question...

TOLLIVER%ORN.MFENET@LLL-MFE.ARPA.UUCP (07/08/86)

Subprocesses that are spawned with, for example, an image to run in the
(optional) command-string parameter of the DCL SPAWN command will run
until that image is completed and then essentially "logout" or terminate.

But subprocesses that are spawned with no command-string parameter wait
until the user issues the LOGOUT command before terminating.

Is there any way for a running image to tell the difference?  I.e., to know
whether or not the subprocess will be terminated as soon as the image
terminates?  Certainly, the "system" knows that information, becuase it
either logs out the subprocess or waits.  Yet, I cannot find how an image
can obtain this information.

Any help would be appreciated,

Tolliver%orn@lll-mfe.arpa