Changed flush() method to child fd
This commit is contained in:
parent
5777ff9061
commit
1319801564
|
|
@ -292,7 +292,7 @@ class SysCommandWorker:
|
|||
sys.stdout.flush()
|
||||
# os.fsync(self.child_fd) # <-- Will generate OSError: [Error 22] Invalid argument
|
||||
|
||||
silent_output.write(f"Wrote {written_data}: {[written_data_string]}\n")
|
||||
silent_output.write(f"Wrote {written_data}: {[data]}\n")
|
||||
|
||||
return written_data
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue