!execute()
Prototype
!execute
(
string
,
boolean command
,
integer block
)
error
Return value
.nul
Description
Executes a program on the native OS, and optionally waits for it to complete.
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
command | None | string | The command line to be executed. The full command line should be given, i.e. the program name and space-delimited command line parameters. |
block | .false | boolean | A flag to indicate whether the call should wait in the function until the program being executed has finished. |
error | .nul | integer | Specifies an object which is used to output any error code which is raised during the starting of the external program. Errors which occur in the program after it has successfully started may halt the program, but will not be returned by this function. |