Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use /usr/bin/env to run bash restart script (#33936)
Alvaro Parker44d1f512f87c
diff --git a/crates/gpui/src/platform/linux/platform.rs b/crates/gpui/src/platform/linux/platform.rsindex 01a587e72a6..af53899b437 100644--- a/crates/gpui/src/platform/linux/platform.rs+++ b/crates/gpui/src/platform/linux/platform.rs@@ -200,8 +200,8 @@ impl<P: LinuxClient + 'static> Platform for P {app_path = app_path.display());- // execute the script using /bin/bash- let restart_process = Command::new("/bin/bash")+ let restart_process = Command::new("/usr/bin/env")+ .arg("bash").arg("-c").arg(script).process_group(0)