Bun.spawn(), it inherits the stderr of the spawning process. To read and handle stderr instead, set the stderr option to "pipe".
To read
stderr until the child process exits, use .text().
See Child processes.
Bun.spawn(), it inherits the stderr of the spawning process. To read and handle stderr instead, set the stderr option to "pipe".
stderr until the child process exits, use .text().