Repository navigation
Restore espansion in the welcome screen - #2574
Conversation
|
@AucaCoyan this was the issue -- after 7bae477 espanso Removing the It might be advisable for us to Before this is merged, we should probably:
|
|
Interestingly, clippy warns of the process not being awaited: error: spawned process is never `wait()`ed on
--> espanso/src/cli/worker/ui/welcome.rs:26:13
|
26 | let _ = command.spawn().expect("unable to show welcome screen");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try: `.wait()`
|
= note: not doing so might leave behind zombie processes
= note: see https://doc.rust-lang.org/stable/std/process/struct.Child.html#warning
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#zombie_processes
= note: `-D clippy::zombie-processes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::zombie_processes)]`
error: could not compile `espanso` (bin "espanso") due to 1 previous error
Error: Process completed with exit code 101.this was the reason that commit had a I'll review this later! Thanks for taking hands into the keyboard! |
59f570e to
a18b8a6
Compare
|
@AucaCoyan the latest push adds a wait, just after the worker threads are spawned, and seems to work locally for me. Let me know what you think -- if we can get this in shape to merge, I'm hoping to get a meaningful espanso update (esp for wayland) merged into nixpkgs for the 25.11 release (cutoff coming up soon). |
The addition of the `wait` in 7bae477 broke expansion in the welcome screen. Fixes espanso#2571
a18b8a6 to
598dd10
Compare
|
Had to fix compilation on non-modulo builds but think I got it now. |
|
oh, non-modulo builds are not in my radar of problems! |
|
Excellent! I liked the solution very much! |
The addition of the `wait` in 7bae477 broke expansion in the welcome screen. Fixes espanso#2571
The addition of the
waitin 7bae477 broke expansion in the welcome screen.Fixes #2571