I'm running a sequence of commands in xterm:
xterm -sb -bg black -fg white -e "pdflatex --shell-escape -file-line-error-style | && biber | && pdflatex --shell-escape -interaction nonstopmode -file-line-error-style | && pdflatex --shell-escape -interaction nonstopmode -file-line-error-style | && evince |.pdf &" (the pipes are filled in with a filename by jEdit when the command is called, but it's not a jEdit issue).
If I call it with
xterm -hold it stays open and I have to close it with the mouse or with Alt+F4. If I call it without -hold it goes and I can't see what the last command to successfully finish was.
So is there a way to either:
- call xterm with a conditional hold or
- close xterm with a command when it has been invoked with -hold (typing exit closes an xterm window that has been opened without -hold, but not one that has been opened with -hold.