You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a new project (cargo new --bin ctrlc_test), added ctrlc to my dependencies, and then copied the contents of simple.rs from this repo into my main.rs. Then I did a cargo build and ran the executable directly. It sits waiting for me to hit ctrl-c, but after I do that it prints "Hello world!" to the terminal until I kill it. This is on linux and using stable 1.3.0.
It seems like maybe once the handler is triggered it just runs forever?
The text was updated successfully, but these errors were encountered:
I made a new project (
cargo new --bin ctrlc_test
), added ctrlc to my dependencies, and then copied the contents ofsimple.rs
from this repo into mymain.rs
. Then I did acargo build
and ran the executable directly. It sits waiting for me to hit ctrl-c, but after I do that it prints "Hello world!" to the terminal until I kill it. This is on linux and using stable 1.3.0.It seems like maybe once the handler is triggered it just runs forever?
The text was updated successfully, but these errors were encountered: