DEV Community

loading...
Cover image for bash on windows - CreateProcessW failed ... errno 13

bash on windows - CreateProcessW failed ... errno 13

Julian
see https://dev.to/c33s/comment/3eck
・1 min read
0 [main] bash 6884 fork: child -1 - CreateProcessW failed for 'C:\Program Files\Git\usr\bin\bash.exe', errno 13

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

links:

Discussion (0)