Commit 8c83f2e7 authored by Nicolas Wavrant's avatar Nicolas Wavrant

pbs: open device for output in write mode

As found by jm@nexedi.com :

>>> with open('/dev/null') as f:
...   subprocess.check_call(('echo', 'foo'), stdout=f)

echo: write error: Bad file descriptor
parent 7ddefe29
Pipeline #8613 failed with stage
in 0 seconds