(self, data_string)
| 71 | return response_string |
| 72 | |
| 73 | def write_to_pipe(self, data_string): |
| 74 | if os.name == "posix": |
| 75 | with open(self.FIFO_PATH, 'w') as f: |
| 76 | f.write(data_string) |
| 77 | f.write('\n') |
| 78 | sys.stdout.flush() |
| 79 | if os.name == "nt": |
| 80 | sys.stdin = data_string |
| 81 | |
| 82 | def serve(self): |
| 83 | try: |