MCPcopy
hub / github.com/streamlit/streamlit / run_command

Method run_command

scripts/cli_regression_tests.py:103–104  ·  view source on GitHub ↗
(self, command: str)

Source from the content-addressed store, hash-verified

101 return output
102
103 def run_command(self, command: str) -> str:
104 return subprocess.check_output(self.parameterize(command)).decode("UTF-8")
105
106 def run_single_proc(self, command: str, num_lines_to_read: int = 4) -> str:
107 proc = subprocess.Popen(

Callers 2

setupMethod · 0.95

Calls 1

parameterizeMethod · 0.95

Tested by

no test coverage detected