我想向用户询问一些数据,如果不活动,则退出。但是whiptail
没有 --timeout
这样的选项.我尝试过类似的东西
timeout 5 whiptail --inputbox "enter your name" 10 20
但是会在终端窗口中留下困惑。那么有什么方法可以让shell中的whiptail超时吗?
最佳答案
或者
对话框 --timeout 5 --inputbox "输入你的名字"10 2 :
关于bash - 如何使whiptail中的输入框超时?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64759375/