shell - 使用 shell 脚本打开 gedit,然后在关闭 gedit 后执行另一个进程
问题描述
我有以下脚本
echo "Please Specify the Name of the file"
read file
echo "Please copy and paste the information into ${file} and press save and close."
gedit ${file}
echo "You now have ${file} to be processed"
如何调整脚本,以便在我关闭 gedit 窗口之前不会显示“您现在有 ${file} 待处理”这句话?
解决方案
推荐阅读
- javascript - 为什么尝试倒计时时 setInterval 不起作用
- gcc - Cython 的 OpenMP 减少问题
- spring - Oracle 存储过程 INOUT ARRAY
- javascript - 在 Nest.js 应用程序的 `main.js` 中使用 ConfigService
- linux - 递归重命名文件的开头
- java - LibGDX 在屏幕之间切换会导致 UI 按钮无法正确加载
- flutter - 如何防止 Flutter 列表视图在调整大小时重建子项?
- reactjs - 在 React 中使用语义 UI 时未捕获的错误
- c# - 如何从窗口调用 xaml 页面?(WPF)
- java - 使用函数式编程的延迟初始化