1、命令如下:
自定义命令 command = "python " + os.getcwd() + "/" + "test.py 参数1 参数2 ..."
执行命令 os.system(command)
# coding=utf-8
import os
if __name__ == "__main__":
command = "python " + os.getcwd() + "/" + "appmain.py gate_1 config.json"
os.system(command)