-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
Description
Raycast version:
1.25.1
Description
Environment variable seems to be not working. This causes lots of things that has to do with shell to be broken. For me, my extension is dependent YouTube-dl, and running it using
Two ways to reproduce this error
- In Node, run
console.log(process.env.PATH). It should output a list of path, but it return undefined. - Run any non built in command with
child_process.spawn()throws ENOENT error.
child_process.exec() works properly, but using child_process.spawn() is just a better practice generally, and it also sends stdout when the process is running instead of waiting for process to exit. This need to be fixed so loading progress can be shown if something relies on running shell commands.
Reactions are currently unavailable