mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-13 04:10:53 +01:00
![James Prestwood](/assets/img/avatar_default.png)
Process output was being duplicated when -v was used. This was due to both stderr and stdout being appended to the write_fd list as well as stderr being set to stdout in the Popen call. To fix this only stdout should be appended to the write_fd list, but then there comes a problem with closing the streams. stdout cannot be closed, so instead it is special cased. A new verbose boolean was added to Process which, if True, will cause any output to be written to stdout explicitly.