WSL icon indicating copy to clipboard operation
WSL copied to clipboard

0x80070057 when calling bash -c from java (64bit).

Open andradebruno opened this issue 9 years ago • 5 comments

When opening a bash process using java's ProcessBuilder builder1 = new ProcessBuilder("bash.exe", "-c", "fastqc" ); I receive the error 0x80070057. This error doesn't happen in any other context.

andradebruno avatar May 05 '17 11:05 andradebruno

+1 I also have such problem. Any thoughts about this issue?

dbondarchuk avatar Jun 01 '17 14:06 dbondarchuk

+1 invoking from bash over OpenSSH:

bobby {~/code/ssh} ➩ ssh -i sshkey [email protected] "bash -c 'eval echo hi mom'" Error: 0x80070057

darkverbito avatar Jul 12 '17 20:07 darkverbito

+1 also experiencing this when eval-ing with bash from OpenSSH-Win64. Does not happen if bash is used interactively (?????????????), or in any other context as @andradebruno suggested.

gravcat avatar Jul 12 '17 20:07 gravcat

The OP doesn't have a repro, but using the ssh scenario above (with server OpenSSH_for_Windows_8.1p1 that ships with windows) it seems to take.

image

Call it addressed as of 20H1 aka 19041 (and probably further back).

therealkenc avatar Sep 04 '20 08:09 therealkenc

This bug or feature request originally submitted has been addressed in whole or in part. Related or ongoing bug or feature gaps should be opened as a new issue submission if one does not already exist.

Thank you!

ghost avatar Sep 04 '20 08:09 ghost