GNOME Bugzilla – Bug 590417
terminal asks to close even when no process running
Last modified: 2009-08-03 20:11:31 UTC
Please describe the problem: When using the nautilus-open terminal context menu entry to open a terminal, closing that terminal generates a warning that there is a process still running, even when I have just opened the terminal. Steps to reproduce: 1. right click in a nautilus window 2. chose "open in terminal" 3. close the terminal that opens Actual results: it asks me if I am sure I want to close and tells me that there is a process still running. Expected results: I would expect it to close, since I didn't do anything in the terminal. Does this happen every time? Yes. Other information:
Created attachment 139690 [details] [review] Patch to use exec when running the target shell Using exec to replace the helper shell (/bin/sh) with the target shell seems to solve this issue for me. I'm not sure if this method has any side effects though, so it needs review from someone more knowledgeable.
Thanks for your efforts. The sh manpage actually seems to list exec as a valid way to replace the current sh binary with something else. Therefore, your patch looks safe. We'll see whether it causes problems for anybody. I just applied it to trunk: http://git.gnome.org/cgit/nautilus-open-terminal/commit/?id=357a768b063ced123afaaf60322fd7076e806e1e. Closing.
I just released Nautilus Open Terminal 0.14.
works for me... thanks a bunch.