in reply to Automating a shell session: cd does not work
I think it is because IPC::Run is not Expect
You can always use chdir