make `cwd` variable in exec async