exit_process


Synopsis

exit the main process of an AVS/Express session


module exit_process {

int+read  do_exit;
int+read status;
};

Description

exit_process is used to exit the main process of an AVS/Express session. It does not itself implement a confirmation dialog mechanism but you can implement confirmation on top of this module by attaching a dialog object's ok parameter to the do_exit parameter of this object.

Input ports

do_exit

When this value is set to 1, this module causes the main process to exit.

status

This value specifies the exit status for the process. If it is not set, the process exits with a 0 status.