MCPcopy Create free account
hub / github.com/modelscope/ms-agent / _get_node_executable

Method _get_node_executable

ms_agent/skill/container.py:604–608  ·  view source on GitHub ↗

Get the Node.js executable for the current platform.

(self)

Source from the content-addressed store, hash-verified

602 return ['/bin/sh', '-c']
603
604 def _get_node_executable(self) -> str:
605 """Get the Node.js executable for the current platform."""
606 if platform.system() == 'Windows':
607 return 'node.exe'
608 return 'node'
609
610 async def _local_install_requirements(
611 self, requirements: List[str]) -> tuple[bool, str]:

Callers 1

Calls 1

systemMethod · 0.80

Tested by

no test coverage detected