[Info-vax] Check if a process will auto-terminate

Stephen Davies noone at nowhere.com
Tue Apr 28 13:53:30 EDT 2009


"Joseph Huber" <joseph.huber at NIRWANA.web.de> wrote in message 
news:gt7dug$s25$1 at online.de...
> Stephen Davies schrieb:
>> That does not distinguish this:
>> $ spawn @CMD
>>
>> from this:
>> $ spawn
>> $ @CMD
> Of course it does, the second @CMD executes in the master process, the 
> first one is a subprocess of a different master process.

$ spawn say f$getjpi("","MASTER_PID")
Process USER_1 spawned
Terminal now attached to process USER_1
12345678
Control returned to process FTA1

$ spawn
Process USER_1 spawned
Terminal now attached to process USER_1
$ say f$getjpi("","MASTER_PID")
12345678
$ lo
Process USER_1 logged out at ...
Control returned to process FTA1 





More information about the Info-vax mailing list