Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix hang when opening URL in first browser window (#11961)

Moritz Bitsch4dd83da627dd
diff --git a/crates/gpui/src/platform/linux/platform.rs b/crates/gpui/src/platform/linux/platform.rs
index 6cd533cfe0c..8e261d906f2 100644
--- a/crates/gpui/src/platform/linux/platform.rs
+++ b/crates/gpui/src/platform/linux/platform.rs
@@ -492,7 +492,7 @@ pub(super) fn open_uri_internal(uri: &str, activation_token: Option<&str>) {
if let Some(token) = activation_token {
command.env("XDG_ACTIVATION_TOKEN", token);
}
- match command.status() {
+ match command.spawn() {
Ok(_) => return,
Err(err) => last_err = Some(err),
}