Merge pull request #44514 from madmiraal/split-os-execute

Split OS::execute into two methods
This commit is contained in:
Rémi Verschelde 2021-01-12 16:17:04 +01:00 committed by GitHub
commit 1218441b16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 223 additions and 192 deletions

View file

@ -2211,7 +2211,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;
}