Jeremy Möglich

Results 19 comments of Jeremy Möglich

Add this to your global.d.ts if you have one declare module 'svelte-checkbox' { const Checkbox: SvelteComponent; export default Checkbox; }

I assume it would be possible to attach a different behaviour on drop here https://github.com/moonrepo/moon/blob/c6ea612696bb8fd93cc600ff718817d65808198d/crates/process/src/command.rs#L97-L100 I'll look into this a little more. The main issue may be that drop is...

https://github.com/tokio-rs/tokio/issues/2504 talks about this issue. Also proposes some solutions, though in this case the correct solution may require awaiting exit rather than assuming drop to do that for you

Trying to fix this myself. The behaviour I am going for is it waiting for all processes to exit explicitly via SIGTERM. While keeping the SIGKILL on drop in case...

This will take a while, there are no crates that do this in a way that would work on windows and unix. Even `cargo run` does not handle this properly...

Testing on v1.31.1 (linux) it still fails for all signals | Signal | Test Name | Result | |---------|-----------|--------| | SIGABRT | Direct | ✅ Correct Signal: SIGABRT | |...

https://github.com/JeremyMoeglich/moon_signal_reproduction Run `cargo build` first then run `cargo run --release --bin send_signal`

That seems to not work, at least not for me small reproduction ``` use std::time::Duration; use ctrlc::set_handler; fn main() { set_handler(|| { println!("Signal received, waiting 1 second"); std::thread::sleep(Duration::from_secs(1)); println!("done"); std::process::exit(0);...