From: <aar...@st...> - 2002-05-29 20:22:53
|
I have an Expect perl application that accepts messages over the network, and runs an interactive application with the data given. It opens up the process once and leaves it open. The problem I have is after running for a few days (usually between 2 days and a week), the opened process stops responding ($process->expect(...) returns no data). The process itself has not died. Any ideas what could be causing this? I'm using Expect 1.15 with IO::Tty 1.02. Previously I had this application running on Expect 1.10 with IO::Tty 0.04. IO::Tty 0.04 was a pain to install on HP-UX and the only way I could get it to work was to make it use /dev/tty instead of /dev/ptmx. However, the app would run fine for months. If there's a way I can get this to work with the default installation of IO::Tty 1.02, that would of course be much better for portability.. Thanks, Aaron Brice ST Microelectronics |