HF RL Explorer

child process.spawn doesn't emit 'error' when the command can't be started

child process.spawn doesn't emit 'error' when the command can't be started: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I'm writing a small Node.js script that shells out to an external program with child process.spawn . I want to handle the case where the…

The task

I'm writing a small Node.js script that shells out to an external program with `child_process.spawn`. I want to handle the case where the program isn't installed (or the path is wrong) so I can show the user a friendly message instead of crashing.

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.