Using Expect.pm

Discussion in 'Perl Misc' started by Slain, May 8, 2007.

  1. Slain

    Slain Guest

    I am trying to use Expect and installed it.But for some reason, it
    does not kick off the other perl script I am trying to with this
    script. Neither does it complain, of not finding the file.

    use Expect;


    my $command=Expect->spawn("./install.pl")
    or die "Couldn't Start Program: $!\n";


    Thanks
     
    Slain, May 8, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. niz
    Replies:
    2
    Views:
    2,057
    Simon Andrews
    Jul 23, 2003
  2. z0mb1e_fr
    Replies:
    2
    Views:
    821
    z0mb1e_fr
    Dec 3, 2003
  3. Raphael Bossek
    Replies:
    1
    Views:
    794
    Ganesan R
    Aug 18, 2003
  4. Simon Strandgaard

    how to expect eof with expect+pty

    Simon Strandgaard, Dec 20, 2006, in forum: Ruby
    Replies:
    4
    Views:
    595
    Simon Strandgaard
    Dec 20, 2006
  5. Jim

    Help Using Expect

    Jim, Jun 30, 2004, in forum: Perl Misc
    Replies:
    0
    Views:
    195
  6. Phil
    Replies:
    0
    Views:
    330
  7. Replies:
    0
    Views:
    133
  8. jrpfinch
    Replies:
    0
    Views:
    213
    jrpfinch
    May 9, 2007
Loading...