mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-06 05:59:01 +01:00
ui-macos: guess we don't need stupid.py anymore.
It was just a test.
This commit is contained in:
parent
668441adb6
commit
049a0c40ac
@ -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()
|
Loading…
Reference in New Issue
Block a user