file があるとしますRegressionSystem.exe
。-config
この実行可能ファイルを引数付きで実行したい。コマンドラインは次のようになります。
RegressionSystem.exe -config filename
私は次のように試しました:
regression_exe_path = os.path.join(get_path_for_regression,'Debug','RegressionSystem.exe')
config = os.path.join(get_path_for_regression,'config.ini')
subprocess.Popen(args=[regression_exe_path,'-config', config])
しかし、うまくいきませんでした。