in reply to Automating GDB using perl script

IPC::Open2 but I faced problems in output buffering.

What kind of problems ?