|
|
|
|
Functions
Events
MioScript Reference
|
|
Syntax
| system.process.create(internalProcessId, filename, parameters, defaultPath, waitForExecution) |
Parameters
| INT | internalProcessId | ID (0-32) of the process. The ID is set by you and is used to specify this process when calling other process related functions.
| | STRING | filename | File or program to execute.
| | STRING | parameters | Optional. Parameters to send to the program, separated by a space. The first argument is the exe name.
| | STRING | defaultPath | Optional. Default directory.
| | BOOL | waitForExecution | Optional. When set to true, the function waits to the process to complete then close the handles. If this parameter is set to false or not set, you must free the handles manually when the process is completed. |
Return value
| 0 if failed to create the process. |
Description
Create a new process. This function is used to run an external program.
Except if the parameter waitForExecution is set to true, the handles must be closed when the process is completed. |
|
|
|