On 04/29/2014 11:08 AM, jzupka wrote:
> Actually it works. I'll take a look on that why:-) but
> DockerCmdInterfaceCLI(DockerCmdInterface, AsyncDockerCmd):
> AsyncDockerCmd should solve problem.

It happens to work because job.run_once(...) executes stuff in
a forked process which dies between each step.  However, based on
lmr's previous experience with leaky FD's, I'd rather they be dealt with
on *purpose* instead of on *accident* :grinning:

BTW: I tried using ``pyfile = os.openfd(fd)`` to help out with this
but AsyncJob/BGJob really don't get along well with python-file pipe's
despite ``subprocess.popen`` happily accepting them.