process.resume

process.resume

process.resume

Function

Resume a suspended child process and its child process tree under Windows. Usually used in conjunction with process.suspend.

Syntax

Parameters

No parameters.

Return value

TypeDescription
BoolReturns true if at least one thread is successfully resumed; returns false if there is no child process handle, the process has exited, or there are no resumable threads.

Example

Notes

  • resume will not clear the currently saved child process handle.
  • Resume under Windows will restore accessible threads in the child process tree through system process and thread snapshots.
  • If the process has not been suspended, resume may still try to access the thread, but will not start a new process.
  • Linux/macOS does not currently support this method and will return a runtime error.