From 05fd6008858480eb2166c7597ce331a4bcee97d4 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Wed, 23 Mar 2011 09:22:39 +0100 Subject: [PATCH] Wait for subprocess to finish --- src/pylorax/images.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pylorax/images.py b/src/pylorax/images.py index d286f86b..33ffed7a 100644 --- a/src/pylorax/images.py +++ b/src/pylorax/images.py @@ -666,6 +666,7 @@ class S390(object): p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) + p.wait() # add cdboot.img to treeinfo data = {"cdboot.img": joinpaths(IMAGESDIR, "cdboot.img")}