Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Automating a shell session: cd does not work

by pokki (Monk)
on Jan 03, 2013 at 10:13 UTC ( #1011431=note: print w/replies, xml ) Need Help??


in reply to Re: Automating a shell session: cd does not work
in thread Automating a shell session: cd does not work

OK, it was definitely my fault. I keep telling myself I need to stop assuming the modules I use are at fault.

I was doing $input = "new command\n" instead of $input .= "new command\n", so I guess in some cases existing input got clobbered before being pumped into the harness.

Thanks again!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011431]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2016-09-26 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (474 votes). Check out past polls.