We have an app.exe that uses another 3rd party installation wizard app, InstallAnywhere, to install our application. It is a text-based wizard - meaning a new shell is spawned (and the child process is executing some java.exe in order for its wizard steps to work) when app.exe -i console in the parent shell is executed.
Can pexpect be used in this case as a kind of question/answer interaction ? We tried it with Hudson but it appears that Hudson can only monitor the parent process and not its child process. When Hudson job kicks off the python script, it starts but fails to begin at step 1 of the wizard - it hangs.
How can we overcome this ?
Thanks