openhuman
openhuman copied to clipboard
Windows 11 bug
▎ Bug: On Windows, shell, node_exec, and npm_exec tools fail with Failed to execute command: program not found even when binaries exist on PATH. ▎ Root cause: child process env passes POSIX allowlist (PATH HOME TERM LANG LC_ALL LC_CTYPE USER SHELL TMPDIR); Windows needs SystemRoot WINDIR ▎ PATHEXT COMSPEC etc. for child process exec to work. Allowlist default of ["ls","cat","echo","find","pwd","wc","head","tail","grep"] is also ▎ POSIX-only — none of these are executables on Windows.
the issue was already resolved here https://github.com/tinyhumansai/openhuman/pull/2382 , https://github.com/tinyhumansai/openhuman/pull/2399
as reviewed and merged by @graycyrus.