ID: 7177
Title: Fix background job warning "IOError: [Errno 9] Bad file
descriptor"
Component: WATO
Level: 1
Class: Bug fix
Version: 1.6.0i1
When starting a background job an unproblematic error message like this could
occur in the output of the background job log:
<code>
sys.stdin.close()
IOError: [Errno 9] Bad file descriptor
</code>
This was caused by an unclean stdin/stdout/stderr handling during job startup
since commit b15dfeb619c14c925b66f2a3437d213852204975.