aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/tinfoil.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-18 22:22:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-18 22:39:35 +0100
commit4e780fa19fc720948cf73133f56f7d837ad9283a (patch)
tree9ce51032dd7b4252917aeb56b356a6c12b162dbb /lib/bb/tinfoil.py
parentd196afe68032898c31a8599ca7d3ceba58d96b0a (diff)
downloadbitbake-4e780fa19fc720948cf73133f56f7d837ad9283a.tar.gz
daemonize: Various fixes
Currently if this code is used with something like oeqa's xml logging it fails as sys.stdout is an io stream. Add in try/except to handle this case. Add a waitpid() call to remove a zombie whilst forking. Also, append to the logfile, don't overwrite it (otherwise debugging can be a real pain when the server is restarting for unknown reasons). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/tinfoil.py')
0 files changed, 0 insertions, 0 deletions