[platform] ignore SIGHUP in restarter script (IDEA-162263)
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>
Tue, 18 Oct 2016 18:35:46 +0000 (20:35 +0200)
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>
Tue, 18 Oct 2016 18:35:46 +0000 (20:35 +0200)
commit5fbaa089898951b3eb828cce10ed38c1cb65c24c
treee83d116a9ed7b9573c5f2dd03f46bcc583ea9ba4
parent5cb324e90a3242d0471e570321d370b80358a57f
[platform] ignore SIGHUP in restarter script (IDEA-162263)

When the IDE is launched in it's own terminal (File Manager | Run in Terminal), shutting it down kills the restarter script as well. Ignoring the signal allows the script to outlive a terminal and successfully restart the IDE.
bin/linux/restart.py