Allow for non-string values as cwd argument for Process