]> git.phdru.name Git - bookmarks_db.git/blobdiff - subproc.py
Feat(subproc.py): Run tests
[bookmarks_db.git] / subproc.py
old mode 100644 (file)
new mode 100755 (executable)
index d16ecc6..502d5dd
@@ -1,3 +1,5 @@
+#! /usr/bin/env python
+
 """Run a subprocess and communicate with it via stdin, stdout, and stderr.
 
 Requires that platform supports, eg, posix-style 'os.pipe' and 'os.fork'
@@ -686,3 +688,6 @@ def test(p=0):
             del p
             print("\tDone.")
             return None
+
+if __name__ == '__main__':
+    test()