add option to run in a given directory
shell.cwd: fix example and unittest
Merge branch 'master' into current-working-directory
Merge pull request #6 from tburette/current-working-directory

add option to run in a given directory