diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2010-08-04 12:51:34 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2010-08-04 13:01:51 (GMT) |
commit | ad1b1fc8c19064601f993010c18adf0a01c5cf92 (patch) | |
tree | 6b701204254065366e78d02a7a54fa766d48d832 /tools/assistant | |
parent | d444ca3cbc4fc3a923e67755d62d52bd5186f2f0 (diff) | |
download | Qt-ad1b1fc8c19064601f993010c18adf0a01c5cf92.zip Qt-ad1b1fc8c19064601f993010c18adf0a01c5cf92.tar.gz Qt-ad1b1fc8c19064601f993010c18adf0a01c5cf92.tar.bz2 |
runonphone - catch ctrl-c and terminate remote process before exit
Trap SIGINT, SIGTERM, SIGHUP, SIGBREAK, SIGQUIT
On receiving one of these signals, we first untrap them (so runonphone
can be killed by a 2nd ctrl-c if needed), and send a terminate to the
TRK launcher.
This will kill the remote process if it's running, then disconnect from
TRK cleanly.
Task-number: QTBUG-12444
Reviewed-by: axis
Diffstat (limited to 'tools/assistant')
0 files changed, 0 insertions, 0 deletions