spawn xxx ENOENT
Resolved 💬 2 comments Opened Apr 17, 2025 by ensorrow Closed Apr 17, 2025
💡 Likely answer: A maintainer (ensorrow, contributor)
responded on this thread — see the highlighted reply below.
<img width="506" alt="Image" src="https://github.com/user-attachments/assets/707d1193-1a62-4f49-bcdf-363a81bf0503" />
2 Comments
Same error:
The spawn options.cwd is wrong:
<img width="525" alt="Image" src="https://github.com/user-attachments/assets/1f85c631-d0a0-4f6c-80bc-faf6ce047ff6" />
The workdir is passed by the model's function call param, so it's a mistake of the model:
<img width="785" alt="Image" src="https://github.com/user-attachments/assets/72613ef0-d2ac-4028-95ad-e872bf9461b5" />
But should the cli check whether the workdir exists before spawn the cmd?