111 reputation
1
bio website
location
age
visits member for 2 years, 6 months
seen Nov 25 '12 at 22:41

In god we trust. The rest we unit test!


Nov
25
awarded  Supporter
Jun
15
comment Can it harm if I shutdown without closing applications?
The question was/is ambiguous. Besides the desktop can delay/abort a shutdown if there are unsaved changes in an app
Jun
14
comment Can it harm if I shutdown without closing applications?
Some bash scripts would check for pending shutdown tasks and issue "shutdown -c" so yes even "shutdown -h" can be cancelled. Also, the user never specified the mode of shutdown. So in all fairness it IS possible to abort the shutdown. But we are deviating far from the question. Thanks for the downvotes guys.
Jun
14
comment Can it harm if I shutdown without closing applications?
SIGKILL cannot be trapped while SIGTERM can be. If the application chose to handle the SIGTERM signal it practically stops the shutdown process. Eg vi can chose to remain active to save any unsaved files etc.
Jun
14
answered Can it harm if I shutdown without closing applications?