in reply to Re^2: Expect command output parser sub
in thread Expect command output parser sub

Any help to make it fucntional for such commands is welcome

I would say its impossible so don't use it on such commands, or append ";pwd" so they do print output