I can run the following command in Windows command line successfully (assuming I have cd'ed to the proper directory:
> Reader.exe sig5C "C:\path\to\file.ext"
I am trying to run this command from a Python script. What I have so far is below. It launches the program but it quits before it processes the files. What am I doing wrong?
fp = r'C:\path\to\file.ext'
READER = r'C:\path\to\Reader.exe'
os.spawnl(os.P_WAIT, READER, READER, 'sig5C', '"%s"'%fp)