Bash脚本创建运行python脚本的多个屏幕

时间:2019-04-14 20:20:10

标签: python linux gnu-screen

我有20个python脚本,希望在20个不同的屏幕会话中运行。

我创建了以下bash文件(test.sh):

screen -dmS test1 python script1.py
screen -dmS test2 python script2.py
screen -dmS test3 python script2.py

问题在于它没有创建屏幕会话,也没有运行任何内容。另外,如果有人真的提供了解决方案,我不希望在执行屏幕后终止屏幕。

0 个答案:

没有答案
相关问题