|Powered by QM on a Rpi server|
KnowledgeBase 00117: Checking for Phantom Termination
This article was originally published as a Tip of the Week.
Sometimes an application needs to detect whether a phantom process that it started has completed execution.
The CHILD() Function
The QMBasic CHILD() function takes a single argument holding the user number of a phantom process started by the QM session in which the function is executed. It returns true if the phantom process is still running.
The CHILD() function cannot be used to check for phantom processes started from other QM sessions.