Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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!


Comment on Re^2: Automating a shell session: cd does not work
Select or Download Code

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 imbibing at the Monastery: (18)
As of 2015-09-03 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (111 votes), past polls