]> git.phdru.name Git - bookmarks_db.git/commitdiff
Feat(subproc.py): Run tests
authorOleg Broytman <phd@phdru.name>
Sat, 1 Jul 2017 00:37:03 +0000 (03:37 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 1 Jul 2017 00:37:03 +0000 (03:37 +0300)
subproc.py [changed mode: 0644->0755]

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()