mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 17:33:33 +00:00
Split OS::execute into two methods
1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
This commit is contained in:
parent
98ccaa1bad
commit
2a74b388d0
28 changed files with 223 additions and 192 deletions
|
@ -2198,7 +2198,7 @@ bool ScriptEditor::edit(const RES &p_resource, int p_line, int p_col, bool p_gra
|
|||
args.push_back(script_path);
|
||||
}
|
||||
|
||||
Error err = OS::get_singleton()->execute(path, args, false);
|
||||
Error err = OS::get_singleton()->create_process(path, args);
|
||||
if (err == OK) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue