Reading return value from expect

Aravinda
2009-01-28
2013-05-02
  • Aravinda
    Aravinda
    2009-01-28

    Hi,

    I have a C program which prints a message onto the screen using printf. This program is invoked by expect script. Now how can I capture the message printed by user porgram using expect script.

    Thanks