Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytedance/sonic-cpp
/ run
Function
run
scripts/tools/draw-decode-encode.py:8–12 ·
view source on GitHub ↗
(cmd)
Source
from the content-addressed store, hash-verified
6
import
argparse
7
8
def
run(cmd):
9
print(cmd)
10
if
os.system(cmd):
11
print (
"Failed to run cmd: %s"
%(cmd))
12
exit(1)
13
14
def
run_r(cmd):
15
print (cmd)
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected