diff options
Diffstat (limited to 'ranger/applications.py')
-rw-r--r-- | ranger/applications.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ranger/applications.py b/ranger/applications.py index a3e3aeea..c10df6f8 100644 --- a/ranger/applications.py +++ b/ranger/applications.py @@ -191,11 +191,12 @@ class AppContext(object): else: self._activate_ui(False) try: - p = Popen(**kw) + process = Popen(**kw) if self.wait: - waitpid_no_intr(p.pid) + waitpid_no_intr(process.pid) finally: self._activate_ui(True) + return process def _activate_ui(self, boolean): if self.fm and self.fm.ui: |