ui-macos: guess we don't need stupid.py anymore.

It was just a test.
This commit is contained in:
Avery Pennarun 2011-01-22 16:55:07 -08:00
parent 668441adb6
commit 049a0c40ac

View File

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