await writer.write(buffer) never resolves on Deno.Command
Hiho. I'm creating a
It works most of the time, but sometimes gets stuck on
The big problem is that there is no error, the writer.write() promise is just never resolved. So I have no idea how to debug, catch errors or even cancel this after timeout or something.
I can process a couple of files (all with a new
Any ideas how to begin solving what the problem is.
Deno.Command that writes a buffer to vipsthumbnail via stdin (and reads the result via stdout).It works most of the time, but sometimes gets stuck on
await writer.write(source);. Source is the result of await Deno.readFile(path). The big problem is that there is no error, the writer.write() promise is just never resolved. So I have no idea how to debug, catch errors or even cancel this after timeout or something.
I can process a couple of files (all with a new
Deno.Command) but then after a few files it gets stuck and the promise never resolves.Any ideas how to begin solving what the problem is.