MCPcopy Create free account
hub / github.com/apache/impala / spawn_shell

Function spawn_shell

tests/shell/util.py:204–206  ·  view source on GitHub ↗

Spawn a shell process with the provided command line. Returns the Pexpect object.

(shell_cmd)

Source from the content-addressed store, hash-verified

202
203
204def spawn_shell(shell_cmd):
205 """Spawn a shell process with the provided command line. Returns the Pexpect object."""
206 return pexpect.spawn(shell_cmd[0], shell_cmd[1:], env=build_shell_env())
207
208
209def get_open_sessions_metric(vector):

Calls 1

build_shell_envFunction · 0.85