Process object
Event | Description |
---|---|
Process.onRedirect() | Event fired when the Process outputs data to stdin/stderr |
Property | Description | Access | Type |
---|---|---|---|
Process.suspended | Check if the process is suspended | readonly | boolean |
Process.terminated | Check if the process has terminated its execution | readonly | boolean |
Method | Description | Return value |
---|---|---|
Process.constructor() | Process object constructor | Process | nil |
Process:spawn() | Starts the process execution | Task |
Process:write() | Writes in the process standard input stream | - |
Process:suspend() | Suspend the process execution | boolean |
Process:resume() | Resume the process execution | boolean |
Process:abort() | Abort the running process | boolean |
Process:close() | Try a gracefull process termination | boolean |