text: Title: [Bug]: subprocess.Popen gets stuck when running sweep
  Body: ### Describe the bug
  
  wandb Version: 0.19.2
  Python 3.10.12
  Ubuntu 22.04
  
  
  Inside my python script I spawn a subprocess like:
  ```
  command = ["bash", "-c", "ffmpeg -framerate 24 -i frame_%d.png  output.mp4]
  subprocess.Popen(command)
  ```
  
  And it works perfectly fine if I run it directly. But if I create a sweep and start an agent in cli it gets stuck indefinitely. Also the output of this ffmpeg subprocess is always truncated no matter how I try to get it - print in console or redirect to file. I'm not a specialist in multi processing but apparently wandb does something that leads to  subprocess failing?