feat(run_cmd): expand environment variables
shell.cwd: fix example and unittest
Merge branch 'master' into current-working-directory