Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/AiOS
/ _run
Function
_run
util/misc.py:334–336 ·
view source on GitHub ↗
(command)
Source
from the content-addressed store, hash-verified
332
cwd = os.path.dirname(os.path.abspath(__file__))
333
334
def
_run(command):
335
return
subprocess.check_output(command,
336
cwd=cwd).decode(
'ascii'
).strip()
337
338
sha =
'N/A'
339
diff =
'clean'
Callers
1
get_sha
Function · 0.85
Calls
1
decode
Method · 0.45
Tested by
no test coverage detected