Make echo_server use pipes in cwd instead of /tmp by default
This commit is contained in:
parent
1a28862129
commit
3a2ccc1ea4
@ -9,7 +9,7 @@ class EchoPipeIOServer(PipeIOServer):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
pipe_io = EchoPipeIOServer()
|
||||
pipe_io = EchoPipeIOServer('in', 'out')
|
||||
signal(SIGTERM, lambda a, b: pipe_io.stop())
|
||||
signal(SIGINT, lambda a, b: pipe_io.stop())
|
||||
print('Running pipe IO server with named pipes:')
|
||||
|
Loading…
Reference in New Issue
Block a user