有没有办法可以向程序发送Ctrl+C信号tcl?
我有一个tcl code当我执行它时,在内部它应该通过Ctrl+C信号并打印类似的内容:
将“sent ctrl+c”放入同一文件中。
proc abc {
# Want to sent ctrl + c"
Here I want the command for ctrl+c
puts " sent ctrl+c"
}
Run Code Online (Sandbox Code Playgroud) tcl ×1