Comment 4 for bug 1735331

Revision history for this message
Chad Smith (chad.smith) wrote :

Alternatively we could just have a busy wait there and only exit the tempdir context once we know we have a pid file and can clean ourselves up.

while not os.path.exists(pid_file):
  pass