Browse Source

Merge pull request #45156 from madmiraal/fix-45146

Update Mono module to use new execute method.
Rémi Verschelde 4 years ago
parent
commit
a8cf045fd0

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/Build/MsBuildFinder.cs

@@ -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;

+ 1 - 1
modules/mono/editor/GodotTools/GodotTools/Export/XcodeHelper.cs

@@ -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)
             {

+ 1 - 1
modules/mono/utils/mono_reg_utils.cpp

@@ -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");