-
Unix pros: if I manually handle ctrl-c in my code, should I exit with 1 or 130? (based on this tldp.org/LDP/abs/html/exitcodes.html)
-
Huh. A quick validation check:
cat
+ ctrl-c, thenecho $? # 130
. I guess 130 is good!
cat
+ ctrl-c, then echo $? # 130
. I guess 130 is good!