#!/bin/bash # 定义共同前缀变量 BASE_DIR="/mnt/disk001/dcl_data_process" rm -rf "${BASE_DIR}/log/xosc*" rm -rf "${BASE_DIR}/log/pjibot_delivery-xosc*" pyinstaller --onefile --distpath "${BASE_DIR}/build/pjibot_delivery-xosc/" "${BASE_DIR}/src/python2/pjibot_delivery/pjibot_delivery-xosc.py" #nohup python2 "${BASE_DIR}/src/python2/pjibot_delivery/pjibot_delivery-xosc.py" "${BASE_DIR}/config/pjibot_delivery-xosc.yaml" > "${BASE_DIR}/log/pjibot_delivery-xosc.out" 2>&1 & nohup "${BASE_DIR}/build/pjibot_delivery-xosc/pjibot_delivery-xosc" "${BASE_DIR}/config/pjibot_delivery-xosc.yaml" > "${BASE_DIR}/log/pjibot_delivery-xosc.out" 2>&1 &