jeremyfa / node-exec-sync

IMPORTANT: This repository is no longer maintained.
48 stars 26 forks source link

Error executing Git command #8

Closed dparfrey closed 10 years ago

dparfrey commented 12 years ago

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?

jeremyfa commented 11 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.

jaketrent commented 11 years ago

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.

pbakaus commented 10 years ago

For what it's worth, I have the same issue with git clone :/

georgealways commented 10 years ago

bump

danwoods commented 10 years ago

bump

jeremyfa commented 10 years ago

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).