Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 415 Bytes

fix.md

File metadata and controls

13 lines (10 loc) · 415 Bytes

Modifying daemon library source code

Run: vim /usr/local/lib/python3.8/dist-packages/daemon/runner.py Modify the following lines (#118):

self.daemon_context = DaemonContext()
self.daemon_context.stdin = open(app.stdin_path, 'wb+',buffering=0)
self.daemon_context.stdout = open(app.stdout_path,  'wb+',buffering=0)
self.daemon_context.stderr = open(
        app.stderr_path, 'wb+', buffering=0)