From: <RGi...@a1...> - 2002-03-18 09:49:46
|
> It looks like perl-Expect doesn't support for several subsequent > spawns for on objects Right, I never checked if this works, so it doesn't. :-) > I got a message here in logs telling that /dev/pts/7 which was > used for the first program interaction doesn't exist anymore > (no such file or directory) This probably comes from the pty that is closed but not completely destroyed. > If I replace the second $expect->spawn with Expect->spawn the program > works Ok. Because then you are creating a new object. > Is there a way to skip creation of another Expect object, or > at least cloning settings from the first object to the second one? Sorry, no, not at the moment. I'll add this to the 'to do' list... Thanks for the suggestion! Roland -- RGi...@cp... |