Revert "Tweak command-line arguments to make them more UNIX-like"

This commit is contained in:
Juan Linietsky
2017-08-02 15:39:04 -03:00
committed by GitHub
parent 0586524b9c
commit 6760783b94
4 changed files with 104 additions and 104 deletions
+2 -2
View File
@@ -2803,9 +2803,9 @@ void EditorNode::_discard_changes(const String &p_str) {
String exec = OS::get_singleton()->get_executable_path();
List<String> args;
args.push_back("--path");
args.push_back("-path");
args.push_back(exec.get_base_dir());
args.push_back("--project-manager");
args.push_back("-pm");
OS::ProcessID pid = 0;
Error err = OS::get_singleton()->execute(exec, args, false, &pid);