Godot execute commands to Linux/Android?

Godot Version

3.5.1

Question

Hi,
Can godot execute commands to linux and android?
And if it can be done, can get back the results of command?

Yes to both, but Android may be a little unique and I have no experience with apps and permissions.

Look at OS methods execute and create_process

If I remember correctly you can pass an array to get command output.

thank you for your answer @pennyloafers ! :smiley:
But I cant find create_process what is it and wyh its not in docs?
(or maybe it doesnt in 3.5)

Ah you are right, I was looking at 4.2, 3.5 only has execute…

okey thanks I will check