[Tutor] Running EXE file with arguments

3n2 Solutions 3n2solutions at gmail.com
Fri Mar 8 19:37:43 CET 2013


Below is the shell command that works fine if ran as is:
C:\FinalTest>fix.exe -com 17 -baud 38400 -setconfig base.dat

I'm trying to automate it using the following python command but it
gives me an error: "....returned non-zero exit status 1"

subprocess.check_call(['c:/FinalTest/fix.exe', '-com 17','-baud
38400', '-setconfig base.dat'])

Where is the problem?

Thank You!
Tim


More information about the Tutor mailing list