When running arc patch command on Windows command line with SVN repository, the command fails with following message:
```
C:\working_copy\arc patch Dxx
The system cannot find the path specified.
WARNING Some hunks could not be applied cleanly by the unix 'patch' utility. Your working copy may be different from the revision's base, or you may be in the wrong subdirectory. You can export the raw patch file using 'arc export --unified', and then try to apply it by fiddling with options to 'patch' (particularly, -p), or manually. The output above, from 'patch', may be helpful in figuring out what went wrong.
```
The command fails because of ; characters in command chaining (e.g. `(cd %s; patch -p0 < %s)`) as was predicted in this todo comment in [[ https://secure.phabricator.com/diffusion/ARC/browse/master/src/workflow/patch/ArcanistPatchWorkflow.php;4ca58d11298e91363b8a81f9d61ba81aea57fff8$479 | ArcanistPatchWorkflow.php ]].
I made a quick fix in my [[ https://github.com/oujesky/arcanist/commit/b728af9256db2a2ce7ec82bb91ecd95d1ff809f1 | github fork ]] so that may shed some more light on the issue if needed. Basically it uses `setCWD()` method on future/passthru instead of directly calling `cd`.