MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / exec_shell

Method exec_shell

mod/project/python/pyenv_tool.py:450–452  ·  view source on GitHub ↗
(self,cmd: str, call_log:Optional[Callable[[str], None]] = None, user="")

Source from the content-addressed store, hash-verified

448 return status
449
450 def exec_shell(self,cmd: str, call_log:Optional[Callable[[str], None]] = None, user=""):
451 cmd = self.activate_shell() + "\n" + cmd
452 return _run_command_with_call_log(cmd, call_log=call_log, user=user)
453
454 @classmethod
455 def profile_check_use(cls):

Callers

nothing calls this directly

Calls 2

activate_shellMethod · 0.95

Tested by

no test coverage detected