MCPcopy Create free account
hub / github.com/apache/arrow / issue_command

Method issue_command

python/pyarrow/tests/test_gdb.py:127–133  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

125 return out
126
127 def issue_command(self, line):
128 line = line.encode('utf-8') + b"\n"
129 if self.verbose:
130 sys.stdout.buffer.write(line)
131 sys.stdout.buffer.flush()
132 self.proc.stdin.write(line)
133 self.proc.stdin.flush()
134
135 def run_command(self, line):
136 self.issue_command(line)

Callers 1

run_commandMethod · 0.95

Calls 2

encodeMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected