summaryrefslogtreecommitdiffstats
path: root/src/subprocess.h
Commit message (Collapse)AuthorAgeFilesLines
* Only run SubprocessTest.SetWithLots on FreeBSD when ppoll() exists.Nico Weber2016-11-071-0/+8
| | | | Should fix #1189 after #1185.
* Cleanup build on SIGHUP.Nicolas Despres2015-09-201-0/+1
| | | | | SIGHUP is sent when the connection hang up (i.e. when the terminal window is closed or the ssh connection is closed).
* Forward interruption signal to child processes.Nicolas Despres2015-04-241-1/+6
|
* Allow SIGTERM for interruption.Nicolas Despres2015-04-241-1/+2
| | | | | Default signal sent by many other programs (mainly kill(1)) to gently terminates another one is SIGTERM.
* wip for console pool on windowsNico Weber2014-05-131-4/+1
|
* Introduce the "console" poolPeter Collingbourne2014-02-031-2/+6
| | | | | | | This is a pre-defined pool with a depth of 1. It has the special property that any task in the pool has direct access to the console. This can be useful for interactive tasks or long-running tasks which produce status updates on the console (such as test suites).
* Put & operator with the type rather than the variable name.Thiago Farina2012-04-281-1/+1
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* pselect->ppoll on linux to raise the process limit roofAmi Fischman2012-03-041-2/+2
|
* Merge pull request #176 from pcc/exit-cleanupEvan Martin2012-02-141-9/+24
|\ | | | | Implement cleanup-on-interrupt
| * Implement cleanup-on-interruptPeter Collingbourne2012-02-041-9/+24
| | | | | | | | | | | | | | | | This causes us to clean up by deleting any output files belonging to currently-running commands before we quit if we are interrupted (either by Ctrl-C or by a command failing). Fixes issue #110.
* | Avoid using undefined value in Subprocess::OnPipeReady()Qingning Huo2012-02-041-0/+1
|/
* windows: subprocess implementation for WindowsEvan Martin2011-05-061-2/+25
| | | | Heavily based on a patch from Sergey Nenakhov <nenakhov.sergey@gmail.com>.
* more refactoring for windowsEvan Martin2011-05-061-2/+5
|
* refactor subprocess to make it easier for windows portEvan Martin2011-05-031-12/+7
| | | | | | Rather than tracking stdout/stderr explicitly, just keep an opaque pointer to a platform-specific 'stream' type. Also provide API to get at the process output.
* add doxygen-compatibile comments to most classesEvan Martin2011-04-291-8/+8
|
* Add missing CPP guards.Nicolas Despres2011-03-221-0/+5
|
* add copyrightsEvan Martin2011-02-061-0/+14
|
* move src into subdirEvan Martin2010-12-051-0/+42