Re: [Tutor] Running EXE file with arguments

2013-03-08 Thread eryksun
On Fri, Mar 8, 2013 at 1:37 PM, 3n2 Solutions <3n2soluti...@gmail.com> wrote: > subprocess.check_call(['c:/FinalTest/fix.exe', '-com 17','-baud > 38400', '-setconfig base.dat']) You can use a single string for the command on Windows. subprocess will create one anyway, but let's stick with a list,

Re: [Tutor] Running EXE file with arguments

2013-03-08 Thread Jonatán Guadamuz Espinoza
El viernes, 8 de marzo de 2013, 3n2 Solutions <3n2soluti...@gmail.com> escribió: > 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: ".

[Tutor] Running EXE file with arguments

2013-03-08 Thread 3n2 Solutions
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 1