Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: How mimic ^C programatically for Command::new(&cmd[0])...spawn()?
I can terminate Rust program from a terminal pressing ^C. However when I run the same program using Rust command, I do not know how to do that. It's possible to look in source of Rust terminal, however to save some time, maybe someone already implemented that and can help me?
When I was writing the question, I thought, maybe I need just send 03 to stdin? Let me check.
2 posts - 2 participants
🏷️ rust_feed