Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rspeer/python-ftfy
/ get_command_output
Function
get_command_output
tests/test_cli.py:25–28 ·
view source on GitHub ↗
(args, stdin=None)
Source
from the content-addressed store, hash-verified
23
24
25
def
get_command_output(args, stdin=None):
26
return
subprocess.check_output(args, stdin=stdin, stderr=subprocess.STDOUT, timeout=5).decode(
27
"utf-8"
28
)
29
30
31
def
test_basic():
Callers
6
test_basic
Function · 0.85
test_guess_bytes
Function · 0.85
test_alternate_encoding
Function · 0.85
test_wrong_encoding
Function · 0.85
test_same_file
Function · 0.85
test_stdin
Function · 0.85
Calls
1
decode
Method · 0.45
Tested by
no test coverage detected