You're just missing the correct syntax for the options object. Here's the example from the rhino shell documentation:
js> runCommand("sh", "-c", "echo $env1 $env2", { env: {env1: 100, env2: 200}})
So, you can do:
runCommand("sh","-c","cd $mydir && pwd", {env: {mydir: "/xxx/zzz"}})