小编Bha*_*kar的帖子

我怎样才能在 tcl 中发送 ctrl + c

有没有办法可以向程序发送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

2
推荐指数
1
解决办法
2505
查看次数

标签 统计

tcl ×1