CloseProcess (open)

Wait for an OS subprocess to finish and clean itself up

Syntax

LOADLIB "wh::os.whlib";

MACRO CloseProcess(INTEGER processid)

Parameters

INTEGER processid

Process to finish

Description

This function should always be called when the script is done using the process, as not calling this function may unnecessarily delay the freeing of associated resources.