🎥 Make videos programmatically with React
Update install-whisper-cpp.ts
Jonny Burgere1dbed8cf443
diff --git a/packages/install-whisper-cpp/src/install-whisper-cpp.ts b/packages/install-whisper-cpp/src/install-whisper-cpp.tsindex e41643efa2..47015858f4 100644--- a/packages/install-whisper-cpp/src/install-whisper-cpp.ts+++ b/packages/install-whisper-cpp/src/install-whisper-cpp.ts@@ -24,7 +24,9 @@ const execute = ({const stdio: StdioOptions = printOutput ? 'inherit' : 'ignore';return new Promise<void>((resolve, reject) => {- const child = spawn(command, {+ const [bin, ...args] = command.split(' ');++ const child = spawn(bin, args, {stdio,signal: signal ?? undefined,cwd: cwd ?? undefined,