diff options
author | Martin Sivak <msivak@redhat.com> | 2008-07-24 16:26:02 +0200 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2008-07-24 16:35:56 +0200 |
commit | 9d120444843ec87c84cad8b20a12e0421639b279 (patch) | |
tree | 46a3bc4c0bc8251a8a6234d306a69ae0a639baa5 /kickstart.py | |
parent | 4ecd2b468bcb30addc153492069cdd9da24f7625 (diff) | |
download | anaconda-9d120444843ec87c84cad8b20a12e0421639b279.tar.gz anaconda-9d120444843ec87c84cad8b20a12e0421639b279.tar.xz anaconda-9d120444843ec87c84cad8b20a12e0421639b279.zip |
Suspend the curses interface before calling scripts and resume afterwards (#435314)
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kickstart.py b/kickstart.py index d1e989ce6..3a21eeb82 100644 --- a/kickstart.py +++ b/kickstart.py @@ -74,9 +74,13 @@ class AnacondaKSScript(Script): else: messages = "/dev/tty3" + if intf: + intf.suspend() rc = iutil.execWithRedirect(self.interp, ["/tmp/%s" % os.path.basename(path)], stdin = messages, stdout = messages, stderr = messages, root = scriptRoot) + if intf: + intf.resume() # Always log an error. Only fail if we have a handle on the # windowing system and the kickstart file included --erroronfail. |