我将编写一个运行程序的脚本并等待它完成.但是如果程序没有在指定的时间内完成,我希望程序被杀死.
powershell timeout process
powershell ×1
process ×1
timeout ×1