Support current working directory as the `cwd` option

Few lines can prevent us from using `"pushd <DIR> && <CMD> && popd"` brackets