Merge pull request #45156 from madmiraal/fix-45146

Update Mono module to use new execute method.
This commit is contained in:
Rémi Verschelde 2021-01-13 15:16:48 +01:00 committed by GitHub
commit a8cf045fd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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");