mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
Update Mono module to use new execute method.
This commit is contained in:
parent
7f8ab378e9
commit
3ee860e3d1
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user