summaryrefslogtreecommitdiff
path: root/subplot/summain.py
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/summain.py')
-rw-r--r--subplot/summain.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/subplot/summain.py b/subplot/summain.py
index e137ade..ca7c0f6 100644
--- a/subplot/summain.py
+++ b/subplot/summain.py
@@ -28,6 +28,10 @@ def create_socket(ctx, filename=None):
fd.bind(filename)
+def create_fifo(ctx, filename=None):
+ os.mkfifo(filename)
+
+
def set_mode(ctx, filename=None, mode=None):
os.chmod(filename, int(mode, 8))