In a script I'm writing, I need to run tens of thousands of subprocesses via Deno.run, but I noticed that after the first ~4096 commands, I'd always get a Bad file ...
This example repository showcases how to test command line programs using pytest and subprocess. Note that it can used to test any kind of program that read from stdin and write to stdout. In other ...