I have a command line executable that I want to call with subprocess.call. The call itself to the application works.
subprocess.call(['filepathIEF.exe'], shell=True). This part works fine.
I want to automate this command:
IEF.exe --image [image path] -- search [type] --output [output path] When I broke it down by pieces, IEF.exe works fine, then I got a -1 error when I added the
'--image', 'Filepathofimage'], shell=True) I then tried adding each piece of this CLI and received an error of 1, then, I tried placing the whole line in one '' and I received the error of 1. I only started using Python about 2 months ago and I still have much to learn. I also tried the Popen and it returned an error of
When this command is run in the CLI, it generates a set of files inside the file I name as the output. I could really use some assistance on this. I'm sure I'm just missing something simple, but I'm not seeing it. Thank you for your help in advance!