diff --git a/main/main.cpp b/main/main.cpp index 68c40a6f2b2..8c0c31835f2 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1011,6 +1011,7 @@ bool Main::start() { bool noquit=false; bool convert_old=false; bool export_debug=false; + bool project_manager_request = false; List args = OS::get_singleton()->get_cmdline_args(); for (int i=0;iget_root()->add_child(pmanager); diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index b2623a590b0..ea887fe18bb 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -2671,8 +2671,9 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { String exec = OS::get_singleton()->get_executable_path(); List args; - args.push_back ( "-path" ); - args.push_back (exec.get_base_dir() ); + //args.push_back ( "-path" ); + //args.push_back (exec.get_base_dir() ); + args.push_back("-pm"); OS::ProcessID pid=0; Error err = OS::get_singleton()->execute(exec,args,false,&pid);