void onProcessTerminated(ProcessCallback callback)
Sets callback for process termination events.
callback