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

Function get_env

sshuttle/helpers.py:191–197  ·  view source on GitHub ↗

An environment for sshuttle subprocesses. See get_path().

()

Source from the content-addressed store, hash-verified

189
190
191def get_env():
192 """An environment for sshuttle subprocesses. See get_path()."""
193 env = {
194 'PATH': get_path(),
195 'LC_ALL': "C",
196 }
197 return env
198
199
200def get_path():

Callers 14

ipt_chain_existsFunction · 0.90
iptFunction · 0.90
nftFunction · 0.90
_list_routesFunction · 0.90
_check_netstatFunction · 0.90
ipfw_rule_existsFunction · 0.90
_fill_oldctlsFunction · 0.90
_sysctl_setFunction · 0.90
ipfwFunction · 0.90
ipfw_noexitFunction · 0.90
enableMethod · 0.90

Calls 1

get_pathFunction · 0.85

Tested by 1