summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvery Pennarun <apenwarr@gmail.com>2011-01-22 16:55:07 -0800
committerAvery Pennarun <apenwarr@gmail.com>2011-01-22 16:55:18 -0800
commit049a0c40ace08e741473384b4d484999688fec14 (patch)
tree43a62867b4b34844ae5c022499a2800b40d6b3a9
parent668441adb68d015e6ad452651756b3bee7d44383 (diff)
ui-macos: guess we don't need stupid.py anymore.
It was just a test.
-rw-r--r--ui-macos/stupid.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/ui-macos/stupid.py b/ui-macos/stupid.py
deleted file mode 100644
index fdb1e0b..0000000
--- a/ui-macos/stupid.py
+++ /dev/null
@@ -1,14 +0,0 @@
-import os
-
-pid = os.fork()
-if pid == 0:
- # child
- try:
- os.setsid()
- #os.execvp('sudo', ['sudo', 'SSH_ASKPASS=%s' % os.path.abspath('askpass.py'), 'ssh', 'afterlife', 'ls'])
- os.execvp('ssh', ['ssh', 'afterlife', 'ls'])
- finally:
- os._exit(44)
-else:
- # parent
- os.wait()