commit | 9a3416603c54a6e9c80128f698f42d7b2867881e | [log] [tgz] |
---|---|---|
author | Joseph Hwang <[email protected]> | Thu Feb 05 05:42:23 2015 |
committer | ChromeOS Commit Bot <[email protected]> | Tue Feb 24 17:55:01 2015 |
tree | 2f1494150a2759be7a42c702537999779a2129d2 | |
parent | 873765ac7f1ab1716aa969d5db0bca7d5d5374e9 [diff] |
Provide a flag to kill webplot This patch provides a flag for the webplot shell script to kill the existing webplot process from the command line. This also requires to register the interrupt handler for SIGTERM in addition to SIGINT. BUG=chromium:443539 TEST=Run the webplot script in a chromebook by typing $ webplot Then type the following command to kill the webplot process. $ webplot -k It should display the message about killing the webplot process. Change-Id: I3c84d068dea5c3171ebb9bc34af56c5cc40bfc7d Reviewed-on: https://chromium-review.googlesource.com/246431 Reviewed-by: Charlie Mooney <[email protected]> Tested-by: Shyh-In Hwang <[email protected]> Reviewed-by: Shyh-In Hwang <[email protected]> Commit-Queue: Shyh-In Hwang <[email protected]>