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?
LanX could be a reference to Trump and/or Brexit ...
[LanX]: ... anyway getting a support call from food! Need to respond ... ;-)
LanX see you later

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-03-24 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (301 votes). Check out past polls.