Closed jjgonecrypto closed 8 years ago
Thanks!
No worries. Would you mind bumping a patch version and pushing to npm?
Just released v1.0.0
with an updated API. Figured it would be better to allow passing any options to child_process
, so your example would now be: play({timeout: 3000})
.
This allows for a maximum time that a process can run. It internally causes a
sigterm
on the process if timeout occurs, but we can use thekilled
flag to ignore passing that error onto the consumer.