We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 344b2fa commit 2cdb35dCopy full SHA for 2cdb35d
runusb/__main__.py
@@ -286,13 +286,8 @@ def _log_output(self, pipe: IO[str]) -> None:
286
287
This is done in a separate thread to avoid blocking the main thread.
288
"""
289
- log_fileno = self.handler.stream.fileno()
290
-
291
for line in iter(pipe.readline, ''):
292
self.logger.log(USERCODE_LEVEL, line.rstrip('\n'))
293
294
- # Forcefully sync the file, regardless of how it was mounted
295
- os.fsync(log_fileno)
296
LOGGER.info('Process output finished')
297
298
def _set_leds(self) -> None:
0 commit comments