diff options
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 0c3f56c432..b586b6c274 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
| @@ -27,6 +27,7 @@ import hashlib | |||
| 27 | import os | 27 | import os |
| 28 | import re | 28 | import re |
| 29 | import shlex | 29 | import shlex |
| 30 | import subprocess | ||
| 30 | from bb.ui.crumbs.hobcolor import HobColors | 31 | from bb.ui.crumbs.hobcolor import HobColors |
| 31 | from bb.ui.crumbs.hobwidget import hcc, hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker | 32 | from bb.ui.crumbs.hobwidget import hcc, hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker |
| 32 | from bb.ui.crumbs.progressbar import HobProgressBar | 33 | from bb.ui.crumbs.progressbar import HobProgressBar |
| @@ -871,8 +872,7 @@ class DeployImageDialog (CrumbsDialog): | |||
| 871 | tmpname = os.tmpnam() | 872 | tmpname = os.tmpnam() |
| 872 | cmdline += "\"sudo dd if=" + self.image_path + \ | 873 | cmdline += "\"sudo dd if=" + self.image_path + \ |
| 873 | " of=" + combo_item + "; echo $? > " + tmpname + "\"" | 874 | " of=" + combo_item + "; echo $? > " + tmpname + "\"" |
| 874 | deploy_process = bb.process.Popen(shlex.split(cmdline)) | 875 | subprocess.call(shlex.split(cmdline)) |
| 875 | deploy_process.wait() | ||
| 876 | 876 | ||
| 877 | # if file tmpname not exists, that means there is something wrong with xterm | 877 | # if file tmpname not exists, that means there is something wrong with xterm |
| 878 | # user can get the error message from xterm so no more warning need. | 878 | # user can get the error message from xterm so no more warning need. |
