65 Commits (56a853b62c0ae7ebaad0a7a0a704f5ef561eb795)

Author SHA1 Message Date
Erik Faye-Lund ae6a5609c0 run-command: support custom fd-set in async 15 years ago
Shawn O. Pearce 4f41b61148 run-command: Allow stderr to be a caller supplied pipe 15 years ago
Johannes Sixt 75301f9015 Windows: avoid the "dup dance" when spawning a child process 15 years ago
Johannes Sixt 2b541bf8be start_command: detect execvp failures early 15 years ago
Johannes Sixt ab0b41daf6 run-command: move wait_or_whine earlier 15 years ago
Johannes Sixt a5487ddf0f start_command: report child process setup errors to the parent's stderr 15 years ago
Jeff King f445644fd2 run-command: optimize out useless shell calls 15 years ago
Jeff King 8dba1e634a run-command: add "use shell" option 15 years ago
Frank Li 71064e3f86 Test for WIN32 instead of __MINGW32_ 15 years ago
Frank Li d7fa500fb5 Fix __stdcall placement and function prototype 15 years ago
Frank Li 0d30ad71fa Avoid declaration after statement 15 years ago
Johannes Sixt 2affea4125 start_command: do not clobber cmd->env on Windows code path 16 years ago
David Soria Parra 5a7a3671b7 run-command.c: squelch a "use before assignment" warning 16 years ago
Johannes Sixt c024beb56d run_command: report failure to execute the program, but optionally don't 16 years ago
Johannes Sixt b99d5f40d6 run_command: encode deadly signal number in the return value 16 years ago
Johannes Sixt 0ac77ec315 run_command: report system call errors instead of returning error codes 16 years ago
Johannes Sixt 5709e0363a run_command: return exit code as positive value 16 years ago
Thomas Rast d824cbba02 Convert existing die(..., strerror(errno)) to die_errno() 16 years ago
Felipe Contreras 4b25d091ba Fix a bunch of pointer declarations (codestyle) 16 years ago
Jeff King 45c0961c87 run_command(): handle missing command errors more gracefully 16 years ago
Stephan Beyer 14e6298f12 run_hook(): allow more than 9 hook arguments 16 years ago
Stephan Beyer cf94ca8ea9 run_hook(): check the executability of the hook before filling argv 16 years ago
Stephan Beyer ae98a0089f Move run_hook() from builtin-commit.c into run-command.c (libgit) 16 years ago
Nanako Shiraishi 7996ff335e run-command.c: remove run_command_v_opt_cd() 16 years ago
Anders Melchiorsen 7d0b18a4da Add output flushing before fork() 17 years ago
Anders Melchiorsen 2c3766f06a Flush output in start_async 17 years ago
Steffen Prohaska 108ac313f7 run-command (Windows): Run dashless "git <cmd>" 17 years ago
Jeff King ccf08bc3d0 run-command: add pre-exec callback 17 years ago
Johannes Schindelin 8852f5d704 run_command(): respect GIT_TRACE 17 years ago
Johannes Sixt 7e5d776854 Windows: Implement a custom spawnve(). 17 years ago
Johannes Sixt 618ebe9ff9 Windows: Implement asynchronous functions as threads. 17 years ago
Johannes Sixt ba26f296f9 Windows: Implement start_command(). 17 years ago
Christian Couder ce2cf27adc run-command: Redirect stderr to a pipe before redirecting stdout to stderr 17 years ago
Johannes Sixt c20181e3a3 start_command(), if .in/.out > 0, closes file descriptors, not the callers 17 years ago
Johannes Sixt e72ae28895 start_command(), .in/.out/.err = -1: Callers must close the file descriptor 17 years ago
Shawn O. Pearce b73a439759 run-command: Support sending stderr to /dev/null 17 years ago
Johannes Sixt 2d22c20830 Add infrastructure to run a function asynchronously. 17 years ago
Johannes Sixt f3b33f1d22 Have start_command() create a pipe to read the stderr of the child. 17 years ago
Alex Riesen 3427b375b5 Allow environment variables to be unset in the processes started by run_command 18 years ago
Alex Riesen ee4931486b Add ability to specify environment extension to run_command 18 years ago
Alex Riesen 1568fea01e Add run_command_v_opt_cd: chdir into a directory before exec 18 years ago
Shawn O. Pearce e4507ae84e Teach run-command to redirect stdout to /dev/null 18 years ago
Shawn O. Pearce f4bba25bdc Teach run-command about stdout redirection 18 years ago
Shawn O. Pearce 9dc09c7664 Simplify closing two fds at once in run-command.c 18 years ago
Shawn O. Pearce 4919bf0354 Teach run_command how to setup a stdin pipe 18 years ago
Shawn O. Pearce ebcb5d16ca Split run_command into two halves (start/finish) 18 years ago
Shawn O. Pearce f1000898d4 Start defining a more sophisticated run_command 18 years ago
Shawn O. Pearce afdb269c76 Remove unused run_command variants 18 years ago
Shawn O. Pearce 95d3c4f546 Use /dev/null for update hook stdin. 18 years ago
Shawn O. Pearce cd83c74cb3 Redirect update hook stdout to stderr. 18 years ago