Kill Deno.Command
Is it possible to kill/end a
Example code:
Deno.command-instance?Example code:
Deno.command(async () => {
let ffmpegProcess: Promise<Deno.CommandOutput> | undefined;
ffmpegProcess = new Deno.Command("ffmpeg", {args: ["-i", filename, `${folder}/frame%08d.png`, "-threads", "1"]}).output();
await ffmpegProcess;
done = true;
})();
// Later some time
ffmpegProcess.close(); // Something like that?