ibinder_pipe.py 256 B

1234567891011121314
  1. # -*- coding:utf-8 -*-
  2. import os, sys, time
  3. from multiprocessing.connection import Pipe
  4. class NamedPipe():
  5. def __init__(self, filePath):
  6. self.filePath = filePath
  7. if __name__ == "__main__":
  8. fpipe = os.mkfifo("namedpipe")
  9. print fpipe