ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Exit from Node without terminating process

未關閉
#220 0 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C
星號
17.8k
分支
1.1k
PR 合併指標
30 天內沒有已合併 PR

描述

**Is your feature request related to a problem? Please describe.**
The two ways to stop ffmpeg from running in Node are either `ffmpeg.exit()` or `process.exit()`, both of which immediately terminate the Node process and prevent further work from being done.

**Describe the solution you'd like**
Have `ffmpeg.exit()` terminate the long-running Node process without terminating the overall process.

**Describe alternatives you've considered**
Passing in an optional error code into `exit`. While needed so it doesn't always throw an error, in and of itself it won't resolve the ability for this to be able to be integrated into other tools.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。