MCPcopy Create free account
hub / github.com/Tyaoo/picker / popen

Function popen

utils.py:50–52  ·  view source on GitHub ↗
(cmd:str)

Source from the content-addressed store, hash-verified

48
49
50def popen(cmd:str) -> str:
51 with subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True).stdout as source:
52 return source.read().decode(encoding="utf-8")
53
54
55def getenv(key_name, pick=False):

Callers 3

update_pickFunction · 0.85
push_issueFunction · 0.85
push_commentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected