[Info-vax] Check if a process will auto-terminate
JF Mezei
jfmezei.spamnot at vaxination.ca
Thu Apr 30 13:45:06 EDT 2009
I have not thought all of this through. BUT...
Perhaps you could check for a job/process/supervisor/whatever logical
when the procedure first starts. If that logical is not set, then you
know this is its first invocation (and then define it), and if it is
present, you then know that the procedure has been invoked by itself.
Another possiblity is that you would initiate the first call to the
procedure with a special definition of /output or /error, (basically
again, a logical) and when that procedure calls itself, it doesn't
define those /output or /error qualifiers in the spawn command.
More information about the Info-vax
mailing list