at_queryproc - Returns info on a subprocess

SYNOPSIS

at_queryproc item proc_id

ARGUMENTS

item
One of the defined items to return information about the subprocess
proc_id
Subprocess ID as returned by at_createproc

DESCRIPTION

This command will query a subprocess with a process identifier proc_id and specific item. As determined by the item, at_queryproc will return the current value of that item for the specified subprocess.

The leagal forms of the at_queryproc command are:

at_queryproc mbx_r_chan proc_id
Returns the channel number of the read mailbox. That is, the mailbox that passes information from the subprocess to the parent process.
at_queryproc mbx_w_chan proc_id
Returns the channel number of the write mailbox. That is, the mailbox that passes information from the parent process to the subprocess.
at_queryproc mbx_t_chan proc_id
Returns the channel number of the termination message mailbox. That is, the mailbox that passes information to the parent process when the subprocess terminates.
at_queryproc mbx_w_id proc_id
Returns the Tcl/Tk file identifier of the write mailbox.
at_queryproc pid proc_id
Returns the process identification (PID) of the subprocess
at_queryproc alive proc_id
Returns 1 if the process exists and 0 if it does not.
at_queryproc proc proc_id
Returns the associated Tcl/Tk parsing procedure that would be executed on a record being written to SYS$OUTPUT by the subprocess
at_queryproc efn proc_id
Returns the event flag number associated with the subprocess

KEYWORDS

ATwish, proc, subprocess


Derek McKay (dmckay)