OS.execute comand

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Firty
var test:Array = []
var temp:PoolStringArray = ["mspaint /pt f:test.png"]
var _a = OS.execute("CMD.exe", temp, true, test)


var test:Array = []
var _a = OS.execute("CMD.exe", "mspaint", "/pt", "f:test.png", true, test)

Return: Unicode error: invalid utf8
I’m using the same ping method.
I made a program for a knitwear, using godot and it is 99% ready. I dont can print the generated pngs, or generate pdf … This command above if executed in cmd works perfectly.



Firty | 2020-11-18 19:44