我有一个问题,我希望这段代码能够在我的覆盆子pi上的几个不同标签中运行
#!/usr/bin/env bash
# Setup virtualenv
echo "Setting up virtualenv..."
eval "virtualenv ."
eval "source bin/activate"
echo "Virtualenv setup successfully."
# Start one
echo "Starting number 1..."
eval "python test.py -cf ./configs/config.json"
echo "Started number1"
# Start two
echo "Starting number 2..."
eval "python test.py -cf ./configs/config2.json"
echo "Started number 2"
# Start three
echo "Starting number 3..."
eval "python test.py -cf ./configs/config3.json"
echo "Started number 3"
所以每个"开始一个" "开始两个" "开始三"我希望每个人都可以在不同的标签或窗口中运行。我不确定这是否可能,因为我是Rasberry pi和linux的新手。
我如何实现这一目标?