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)