@Container said:
I can't understand it. Please make an example when you just want to open an exe file
Here's an example from the documentation, showing how to open the command prompt using OS.execute:
OS.execute("CMD.exe", ["/C", "cd %TEMP% && dir"], true, output)
Essentially, based on my understanding, the execute command works where the first argument is the path to the executable or thing you want to execute, and then the second argument is an array of flags/arguments you want to pass to the executable. If you are just wanting to launch another game, then you can do something like this:
OS.execute(path_to_game_here, [])
and then it should start the game at the given path.