Skip to content

Commit

Permalink
changed to constant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
klingbolt committed May 18, 2024
1 parent e333616 commit 6f0ee47
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion FileHandler.gd
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
const converter_executable_path = "./xml_converter/build/xml_converter"

static func call_xml_converter(args: PoolStringArray):
var output: Array = []
print(args)
var result: int = OS.execute("./xml_converter/build/xml_converter", args, true, output, true)
var result: int = OS.execute(converter_executable_path, args, true, output, true)
print(output)
if result != OK:
print("Failed to execute the converter. Error code:", result)
Expand Down

0 comments on commit 6f0ee47

Please sign in to comment.