Closed dparfrey closed 10 years ago
I will check this when I have a bit of time. It may be because of the single quote. If it is the case, it is a bug to fix.
I consistently error out when doing a git clone
with this error when using exec-sync:
fatal: Full write to remote helper failed: Broken pipe
The command works just fine using child_process.exec or spawn.
For what it's worth, I have the same issue with git clone :/
bump
bump
I advice you use this module instead: https://github.com/mgutz/execSync I don't maintain my exec-sync repository anymore as the one above is already providing the same features (and even a bit more).
I'm using node.js to run batch git commands. Most git commands seem to run fine with exec-sync, but I get the following error:
Error: error: unable to create temporary sha1 filename : No such file or directory
when I try to run:
execSync("git commit -am 'SYNC'");
I get a similar similar error executing a tag command with a -m parameter.
Ideas?