Process object
The Process object starts and manages external programs or commands
| 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 |
| Methods | Description | Return value |
|---|---|---|
| Process:abort() | Abort the running process | boolean |
| Process:close() | Try a gracefull process termination | boolean |
| Process:constructor() | Process object constructor | |
| Process:resume() | Resume the process execution | boolean |
| Process:spawn() | Starts the process execution | |
| Process:suspend() | Suspend the process execution | boolean |
| Process:write() | Writes in the process standard input stream | - |