Created
March 15, 2016 15:13
-
-
Save omsobliga/fcfcbef249ceef4dd3b8 to your computer and use it in GitHub Desktop.
Start multiple processes in shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 查找出当前文件夹中以 x 开头的文件,文件名作为参数传给 python 脚本,然后放到后台执行 | |
for i in x* | |
do | |
python t.py $i & | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment