GM: execute program
From GMpedia.org Wiki
|
execute_program | |
| Type: | function |
| Arguments: | 1: program name 2: arguments 3: wait |
| Limitations: | none |
- The correct title of this article is execute_program(). It appears incorrectly here because of technical restrictions.
The execute_program() function executes an external program. It is a function that doesn't require registration and it does not return a value.
The execute_program() function appeared in its current form in Game Maker version 4.0. In previous versions, the function execute() could be used for this purpose with the same arguments.
[edit] Arguments
program name: a string containing the link to the executable of a program. This should include a path, except for programs residing in the system32 directory.
arguments: a string containing the arguments that need to be passed to the program
wait: a real value that indicates whether the game should pause or continue running while the newly opened program is running

