我正在尝试使用以下命令执行二进制文件:
system("update");
执行“ update”命令后,系统提示以下内容:
"Press ENTER to exit:"
如何在我的perl脚本中实现以上内容?
最佳答案
use strict;
use warnings;
print "Press ENTER to exit:";
<STDIN>;
关于perl - 如何在perl脚本中等待按键?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8178449/