FNULL = open(os.devnull, 'w')
filename = 'my_file.dat'
args = 'RegressionSystem.exe -config ' + filename
subprocess.call(args, stdout=FNULL, stderr=FNULL, shell=False)
how to run an exe file with the arguments using python