In article <pan.2010.08.03.08.47.38.391...@nowhere.com>, Nobody <nob...@nowhere.com> wrote:
> On Mon, 02 Aug 2010 23:27:37 +0200, Zdenek Maxa wrote: > > > I need to start a process (using subprocess.Popen()) and wait until the > > new process either fails or successfully binds a specified port. > > If you just need to wait until *something* is listening on that port, you > could try connect()ing to it. This certainly seems like the logical way to me. It's straight-forward, simple, and portable. -- http://mail.python.org/mailman/listinfo/python-list