in reply to Expect prints command to console

Why are you setting raw_pty to 0? You want raw_pty turned on. In 'stty' land, raw mode means no echo.

Replies are listed 'Best First'.
Re^2: Expect prints command to console
by daphnaw (Acolyte) on Jun 21, 2010 at 15:29 UTC
    Setting $exp->raw_pty(1) didnt make a difference. The command is still pronted the the console. Any ideas? Thanks