We have an app named app.exe which in turn is a wrapper for a java.exe for the installanywhere launcher. Suppose we have a python script a.py which calls app.exe which then spawns the java.exe process, how do we capture the interactive outputs and inputs between a.py and java.exe
Can Popen do that ? Are there simple examples we could read more to follow ? Can pexpect be used in this scenario too ?
Thanks