support `cwd` property.