Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

run command on ctrl-c in shell script

trap "do_something" SIGINT
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #command #shell #script
ADD COMMENT
Topic
Name
3+5 =