On Wed, Jan 7, 2026 at 1:41 PM Avid Seeker <[email protected]> wrote: > > Running a terminal emulator session (e.g: `lxterminal -e tui_prog`) > where tui_prog accepts ctrl-z signal, pressing ctrl-z causes the > terminal to hang since there is no shell to fall back to.
I think I'm confused. What's the point of sending SIGTSTP to the process in this case? I'm just guessing, but are you able to resume interaction if you send SIGCONT to the process? > Method two seems to hold two contradicting flags: sh -i -c '...' where > -i is interactive and -c is non-interactive "-c" doesn't mean "non-interactive", just "execute these commands." If you really need to force the shell to be interactive, you give "-i". In my quick test, though, that doesn't suddenly make job control work for the parent shell. -- D. Ben Knoble

