Removed debug information
This commit is contained in:
parent
8239c96278
commit
1cf5c64fdc
|
|
@ -280,14 +280,13 @@ class SysCommandWorker:
|
||||||
raise AssertionError(f"SysCommandWorker().write() requires bytes data to be written, not type({type(data)}).")
|
raise AssertionError(f"SysCommandWorker().write() requires bytes data to be written, not type({type(data)}).")
|
||||||
|
|
||||||
self.make_sure_we_are_executing()
|
self.make_sure_we_are_executing()
|
||||||
|
if self.child_fd:
|
||||||
|
written_data = os.write(self.child_fd, data + (b'\n' if line_ending else b''))
|
||||||
|
|
||||||
if self.child_fd:
|
# sys.stdout.flush() # <- Doesn't help
|
||||||
written_data = os.write(self.child_fd, data + (b'\n' if line_ending else b''))
|
# os.fsync(self.child_fd) # <-- Will generate OSError: [Error 22] Invalid argument
|
||||||
|
|
||||||
# sys.stdout.flush() # <- Doesn't help
|
return written_data
|
||||||
# os.fsync(self.child_fd) # <-- Will generate OSError: [Error 22] Invalid argument
|
|
||||||
|
|
||||||
return written_data
|
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue