6

Preventing LyX from getting a SIGHUP and closing when the terminal window is closed

view full story
linux-howto

http://unix.stackexchange.com – I have written a Ruby script to manage my LyX documents. The script has a short CLI interaction with the user(=me), and then it decides the name of the file to open, and opens it via a lyx shell command. Now, the problem is, I need a terminal for the CLI interaction, but when I close the terminal, LyX pops a message box that says "SIGHUP signal caught! Bye." and when I click on OK, it closes LyX. That problem occurred when I launched the shell via Ruby's exec command(that closes the ruby process and starts a new process for the given shell command). When I tried to replace it with a fork, th (HowTos)