Arc lint not patching linting results

Hi All,

We are having an issue using arc lint in a VDI environment running server 2016 with windows 10 experience.

The issue seems to be happening when we are trying to apply the patch from the linting results

Example :

copy /Y "D:\" "D:\"


Call to "proc_open()" to open a subprocess failed: proc_open(): CreateProcess failed, error code - 2 at [<arcanist>\src\future\exec\ExecFuture.php:412]cess failed: proc_open(): CreateProcesf09917be2ffc4de3, ref.master=ffa7be0d3377), dblib(head=jmorris/test, ref.master=60ac12769463, ref.jmorris/test=60ac12769463)s failed, error code - 2 at [<arcanisty) called at [<arcanist>\src\future\exec\ExecFuture.php:316]>\src\future\exec\ExecFuture.php:412] [<arcanist>\src\future\exec\execx.php:17]
arcanist(head=02d96efec89d375b60fd45a5led at [<arcanist>\src\filesystem\Filesystem.php:272]f09917be2ffc4de3, ref.master=ffa7be0d3ng) called at [<arcanist>\src\lint\ArcanistLintPatcher.php:45]377), dblib(head=jmorris/test, ref.masDisk() called at [<arcanist>\src\workflow\ArcanistLintWorkflow.php:322]ter=60ac12769463, ref.jmorris/test=60ad at [<arcanist>\scripts\arcanist.php:475]c12769463)

Would anyone have any advise ?

is that the actual command that fails?
Is the error trace garbled in the original as well?

Error code 2 from CreateProcess seems to mean “file not found”, which shouldn’t apply here (because copy is sort-of a shell built-in, at least on my Windows 10).

This sounds like Filesystem copyFile fails on Windows due to incompatibility between `copy` and `bypass_shell` (upstream as

Hi Avivey,

Thank for the link and work checking on this, I’ll test the temp fix and report back on it.

Many thanks.

Hi Avivey,

This patch seems to have worked to resolve this issue on the VDI we are using.
Thank you again for taking the time to look at this.

Many thanks.