Process:resume()method

Resume execution of the process, previously suspended.

Return value

This method returns a boolean value indicating if the operation succeeded.

Example

--! luart-extensions import sysutils -- create a process launching Wordpad local p = sysutils.Process([[wluart.exe -e "require('ui').info('Process have been resumed')"]]) -- start the process and suspend it p:spawn(true) -- wait 3sec sleep(3000) -- wake up the process p:resume() -- wait before exiting the program (to see the process message box) sleep(1000)