# process.resume ## Function Resume a suspended child process and its child process tree under Windows. Usually used in conjunction with process.suspend. ## Syntax ```bt process(program).child().resume() ``` ## Parameters No parameters. ## Return value | Type | Description | | ------ | ------ | | Bool | Returns 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 ```bt cmd = process('cmd').args(['/C', 'ping 127.0.0.1 -n 5']).child() cmd.suspend() result = cmd.resume() // Output: true print result cmd.kill() ``` ## 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.