n0-computer / sendme

A tool to send files and directories, based on iroh
Other
86 stars 6 forks source link

Unable to exit with ctrl-c #47

Open eminence opened 3 weeks ago

eminence commented 3 weeks ago

Running the latest version from source (529ebc1f9932af204822e2b7ea5af6e6dc44c882) on Linux.

achin@bbx in sendme on  main is 📦 v0.14.0 🦀 took 8s 
❯ cargo run -- send README.md 
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
     Running `target/debug/sendme send README.md`
imported file README.md, 1.60 KiB, hash 71b399b0882c06904b8fbbadc42f01e1727083f630fbbe52738232dc31651ee5
to get this data, use
sendme receive blobhashremovedforgithub
⠄ [00:00:18] waiting for requests 

At this point, pressing ctrl-c doesn't exit sendme. Sending an explicit SIGINT doesn't kill the program, but a SIGTERM and SIGKILL will kill it