running external file (.exe) from godot

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By lofi

hi

im planning to make a mame frontend, so how do i run mame.exe from godot?

You can do this, but it’s quite difficult. You have to ensure that the commands are properly formatted, and that the config files for your MAME frintend are properly designed, too. You can use the os.execute() command to run external commands. Here’s a question with a good answer on the topic.

Ertain | 2018-09-15 16:30

Ertain u are cool, thanks for pointing me out in the right direction !

lofi | 2018-09-17 10:08

:bust_in_silhouette: Reply From: SteveSmith

The answer here should help: https://forum.godotengine.org/27987/run-external-application-with-arguments