Import missing stub-sudo.py.

issue260
David Wilson 6 years ago
parent a6dd8bb2d0
commit fcdf4a0f35

@ -0,0 +1,9 @@
#!/usr/bin/env python
import json
import os
import sys
os.environ['ORIGINAL_ARGV'] = json.dumps(sys.argv)
os.environ['THIS_IS_STUB_SUDO'] = '1'
os.execv(sys.executable, sys.argv[sys.argv.index('--') + 1:])
Loading…
Cancel
Save