Avoid a socket to communicate effectively a bit
This commit is contained in:
parent
b63cbe4e6e
commit
ae306b73c3
@ -502,12 +502,12 @@ def __enter__(self):
|
|||||||
# forcing debug output.
|
# forcing debug output.
|
||||||
self._saved_debug = tty._debug
|
self._saved_debug = tty._debug
|
||||||
|
|
||||||
# OS-level pipe for redirecting output to logger
|
# Pipe for redirecting output to logger
|
||||||
read_fd, write_fd = multiprocessing.Pipe(duplex=False)
|
read_fd, write_fd = multiprocessing.Pipe(duplex=False)
|
||||||
|
|
||||||
# Multiprocessing pipe for communication back from the daemon
|
# Pipe for communication back from the daemon
|
||||||
# Currently only used to save echo value between uses
|
# Currently only used to save echo value between uses
|
||||||
self.parent_pipe, child_pipe = multiprocessing.Pipe()
|
self.parent_pipe, child_pipe = multiprocessing.Pipe(duplex=False)
|
||||||
|
|
||||||
# Sets a daemon that writes to file what it reads from a pipe
|
# Sets a daemon that writes to file what it reads from a pipe
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user