xargs: cannot fork
Brought to you by:
syring
I'm using UnxUtils with Msysgit on Windows 7. I'm using the following command to prune all deleted files from the cache:
git ls-files -d -z | xargs -0 git rm --cached
This command works perfectly on Ubuntu. However, when I try it on Windows using UnxUtils, it returns this error:
xargs: cannot fork
Since this works under Linux, I can only assume that the different behavior in UnxUtils constitutes a bug.
I see the same error using GNU xargs version 4.1 on Win7:
W:>grep teams *|xargs -0 del
xargs: cannot fork