mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-30 01:25:55 +00:00
15 lines
321 B
GDScript
15 lines
321 B
GDScript
extends Button
|
|
|
|
func _ready():
|
|
self.pressed.connect(self._button_pressed)
|
|
|
|
func _button_pressed():
|
|
var output = []
|
|
# var exit_code = OS.execute("ls", ["-l", "/"], output, true)
|
|
var exit_code = OS.execute("touch", ["godot_configurator_hardcoded"], output)
|
|
print("exit code: ", exit_code)
|
|
print("output: ", output)
|
|
|
|
|
|
|