【问题标题】:Opening new terminal in shell script在 shell 脚本中打开新终端
【发布时间】:2013-10-25 08:55:43
【问题描述】:

我正在 Linux 中编写一个 shell 脚本。我想在终端中运行一些 sh ​​文件,它们都需要终端本身。 如何打开一个新终端来运行另一个脚本?

【问题讨论】:

    标签: linux shell console terminal


    【解决方案1】:
    xterm -e script arguments... &
    

    【讨论】:

    • Tnx。但现在我有一个问题。我怎样才能一起打开终端?下一条命令等待新打开的终端关闭
    • 在行尾添加&
    猜你喜欢
    • 2020-05-14
    • 2012-10-09
    • 2013-11-18
    • 2012-11-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-09
    • 1970-01-01
    相关资源
    最近更新 更多