shime / play-sound

Play sounds by shelling out to one of the available audio players.
MIT License
207 stars 31 forks source link

Can't control childPorcess stdin #24

Closed Zelak312 closed 5 years ago

Zelak312 commented 6 years ago

when you set stdio to ignore the childProcess returned have stdin null, but to pause/resume and make other actions with the music we need the to write to the stdin. To fix this we can just set stdio to null, I tested it on my side and it is working correctly