MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / preexec_fn

Function preexec_fn

sshuttle/ssh.py:218–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 pstdin, pstdout = os.dup(s1.fileno()), os.dup(s1.fileno())
217
218 def preexec_fn():
219 # runs in the child process
220 s2.close()
221 s1.close()
222
223 def get_server_io():

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected