Subprocess from script, in game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Stephane
:warning: Old Version Published before Godot 3 was released.

Hi everyone,

I can’t find informations about my problem, so I ask to you all:

is it possible to subprocess (as you can do with Python) an extern program, from a script in a game?

I need to write a small text file parser program (in c++), and I’d want to subprocess that program (once it’s build) in a gd script…

Is there a way to do that?

Thanks a lot in advance, it will help! :slight_smile:

:bust_in_silhouette: Reply From: quijipixel

Have you checkedOS.execute? Its in the docs.

haaaaa good! looks like what I’m searching for! Thank your sir!! :slight_smile:

Stephane | 2017-08-18 11:23