MCPcopy Create free account
hub / github.com/bugy/script-server / __init__

Method __init__

src/execution/process_pty.py:29–35  ·  view source on GitHub ↗
(self, command, working_directory, all_env_variables)

Source from the content-addressed store, hash-verified

27
28class PtyProcessWrapper(process_base.ProcessWrapper):
29 def __init__(self, command, working_directory, all_env_variables):
30 super().__init__(command, working_directory, all_env_variables)
31
32 self.pty_master = None
33 self.pty_slave = None
34
35 self.encoding = get_encoding(command, working_directory)
36
37 def start_execution(self, command, working_directory):
38 master, slave = pty.openpty()

Callers

nothing calls this directly

Calls 1

get_encodingFunction · 0.85

Tested by

no test coverage detected