The .exe requires two input in sequence such as:
what is your input 1: File1
what is your input 2: File2
Then it will run. I am trying to use
p = subprocess.Popen([.exe, File1], cwd=filename_dir, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
time.sleep(1)
p.communicate(input=File2)
and it does not work, any help?