bash on windows - CreateProcessW failed ... errno 13
Julian

Julian @c33s

About: see https://dev.to/c33s/comment/3eck

Location:
Vienna, Austria
Joined:
May 20, 2018

bash on windows - CreateProcessW failed ... errno 13

Publish Date: Aug 19 '19
8 1
0 [main] bash 6884 fork: child -1 - CreateProcessW failed for 'C:\Program Files\Git\usr\bin\bash.exe', errno 13
Enter fullscreen mode Exit fullscreen mode

Sometimes windows gives you this strange error. it happend for me with php, shell scripts, terraform calling shellscripts, ...

windows has problems (i read something about a security measure) creating to "many" processes in a short timeframe.

the solution for me was to disable multithreading in the program which calls the bash scripts or in general has such problems.

for terraform its:

terraform plan -parallelism=1
Enter fullscreen mode Exit fullscreen mode

links:

Comments 1 total

Add comment