perl - How can I communicate with an application that does not return to the command prompt? -


i need build test bench sending appropriate inputs application. however, once launch application, takes control , not return command prompt (unless exit command executed application). in case there technique can send command application perl script , interpret output application?

my operating system windows.

if it's gui application, take @ the win32::guitest module. sends events gui applications - simulating user input.

for command line application, recommend the expect module. unfortunately, expect doesn't work under windows.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -