You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Update Mono module to use new execute method.
This commit is contained in:
@@ -181,7 +181,7 @@ namespace GodotTools.Build
|
|||||||
|
|
||||||
var outputArray = new Godot.Collections.Array<string>();
|
var outputArray = new Godot.Collections.Array<string>();
|
||||||
int exitCode = Godot.OS.Execute(vsWherePath, vsWhereArgs,
|
int exitCode = Godot.OS.Execute(vsWherePath, vsWhereArgs,
|
||||||
blocking: true, output: (Godot.Collections.Array)outputArray);
|
output: (Godot.Collections.Array)outputArray);
|
||||||
|
|
||||||
if (exitCode != 0)
|
if (exitCode != 0)
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ namespace GodotTools.Export
|
|||||||
{
|
{
|
||||||
var outputWrapper = new Godot.Collections.Array();
|
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)
|
if (exitCode == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ String find_msbuild_tools_path() {
|
|||||||
|
|
||||||
String output;
|
String output;
|
||||||
int exit_code;
|
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) {
|
if (exit_code == 0) {
|
||||||
Vector<String> lines = output.split("\n");
|
Vector<String> lines = output.split("\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user