Add routine to run daughter process and collect its output
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 15 Mar 2016 10:08:04 +0000 (11:08 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 29 Mar 2016 14:51:33 +0000 (16:51 +0200)
commitde1e5c90f7dc200af953878230331fefe4b38ed7
treeeebd3831aa2441ee0cdf40055944cfb3120b63ab
parentb8fda05a14b77f791e9646ffd715210aab0e9261
Add routine to run daughter process and collect its output

The routine BufferOutputCommand can run an arbitrary command in a
separate process, and collects its output in a buffer of the requested
size. It will kill the process when it doesn't terminate spontaneously,
and return the allocated buffer.
frontend.h
usystem.c