We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 180e5e9 commit 95fcbd6Copy full SHA for 95fcbd6
1 file changed
src/gui.rs
@@ -1974,7 +1974,14 @@ fn execute_action(config_path: &Path, action: GuiAction) -> Result<String> {
1974
}
1975
1976
1977
+ // Wait for the socket to appear (helper may take a moment to start).
1978
let socket = helper_ipc::socket_path();
1979
+ if !socket.exists() {
1980
+ let deadline = Instant::now() + Duration::from_secs(5);
1981
+ while !socket.exists() && Instant::now() < deadline {
1982
+ thread::sleep(Duration::from_millis(200));
1983
+ }
1984
1985
let request = match action {
1986
GuiAction::Start => helper_ipc::HelperRequest::Start {
1987
config_path: config_path.to_path_buf(),
0 commit comments