Update Mono module to use new execute method.

This commit is contained in:
Marcel Admiraal 2021-01-13 09:25:10 +00:00
parent 7f8ab378e9
commit 3ee860e3d1
3 changed files with 3 additions and 3 deletions

View file

@ -181,7 +181,7 @@ namespace GodotTools.Build
var outputArray = new Godot.Collections.Array<string>();
int exitCode = Godot.OS.Execute(vsWherePath, vsWhereArgs,
blocking: true, output: (Godot.Collections.Array)outputArray);
output: (Godot.Collections.Array)outputArray);
if (exitCode != 0)
return string.Empty;

View file

@ -27,7 +27,7 @@ namespace GodotTools.Export
{
var outputWrapper = new Godot.Collections.Array();
int exitCode = Godot.OS.Execute("xcode-select", new string[] { "--print-path" }, blocking: true, output: outputWrapper);
int exitCode = Godot.OS.Execute("xcode-select", new string[] { "--print-path" }, output: outputWrapper);
if (exitCode == 0)
{

View file

@ -173,7 +173,7 @@ String find_msbuild_tools_path() {
String output;
int exit_code;
OS::get_singleton()->execute(vswhere_path, vswhere_args, true, nullptr, &output, &exit_code);
OS::get_singleton()->execute(vswhere_path, vswhere_args, &output, &exit_code);
if (exit_code == 0) {
Vector<String> lines = output.split("\n");