mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[platform] avoiding launcher dialogs for CEF sandbox subprocesses (IJPL-173035)
(cherry picked from commit 0df5725e3f649bbd3cd7472e243456c5e51e4e99) IJ-CR-155786 GitOrigin-RevId: 40800c5a8a1a968fbcd8785ec6cc409cca073c7a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
59cfa092f1
commit
554dcc21ab
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
|
||||
#![warn(
|
||||
absolute_paths_not_starting_with_crate,
|
||||
@@ -87,7 +87,8 @@ pub fn main_lib() {
|
||||
}
|
||||
|
||||
if let Err(e) = main_impl(exe_path, remote_dev, debug_mode, sandbox_subprocess, remote_dev_launcher_used) {
|
||||
ui::show_error(!debug_mode, e);
|
||||
let gui_mode = !debug_mode && !sandbox_subprocess;
|
||||
ui::show_error(gui_mode, e);
|
||||
std::process::exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user