Files
Daniel P. Berrange 397729bca2 processutils: ensure on_completion callback is always called
If the subprocess.Popen.communicate method raises an exception,
the on_completion callback is never invoked. If a caller is
trying to use on_execute + on_completion to track lifecycle
of a process this creates a problem, as they cannot reliably
detect completion.

Conflicts:
        oslo/concurrency/processutils.py
        tests/unit/test_processutils.py

Change-Id: I22b2d7bde8797276f7670bc289d915dab5122481
Closes-bug: #1470868
(cherry picked from commit ab78480659)
2015-08-03 02:16:39 -07:00
..
2014-08-07 22:27:31 +04:00