MCPcopy
hub / github.com/NARKOZ/hacker-scripts / sh

Function sh

python3/hackerutils.py:14–17  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

12
13
14def sh(*args):
15 proc = subprocess.Popen(args, stdout=subprocess.PIPE)
16 stdout, _ = proc.communicate()
17 return stdout
18
19
20def get_log_path(name):

Callers 3

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected