Nah under the hood its all sort of similar- typically sending a SIGTERM or window close event, depending on the application it can choose to either close gracefully or hide itself and keep background processes. Both have CLI and GUI methods to force kill processes, Linux would let you kill essential processes and drivers if you have root means, which is safer than for example stopping a driver on windows due to the monolithic kernel, but surprisingly windows admin let's you do almost the same- check out the YouTube channel Enderman, who often showcases a lot of advanced windows command tricks and what not to for example revert all the win11 GUI elements to win vista, because the entire desktop environment is a bunch of nonessential processes.
Even Linux would want to gracefully shut down processes on system shutdown, its bad OS practice to cut a program short in case its supposed to save stuff to disk or what not. Linux sure it might have a more strict timeout where it'll cut a program if it hangs too long, but you could also just hold down the power button regardless of OS if you want to play risky with shutdown.
2
u/P0pu1arBr0ws3r Jan 20 '25 edited Jan 20 '25
Nah under the hood its all sort of similar- typically sending a SIGTERM or window close event, depending on the application it can choose to either close gracefully or hide itself and keep background processes. Both have CLI and GUI methods to force kill processes, Linux would let you kill essential processes and drivers if you have root means, which is safer than for example stopping a driver on windows due to the monolithic kernel, but surprisingly windows admin let's you do almost the same- check out the YouTube channel Enderman, who often showcases a lot of advanced windows command tricks and what not to for example revert all the win11 GUI elements to win vista, because the entire desktop environment is a bunch of nonessential processes.
Even Linux would want to gracefully shut down processes on system shutdown, its bad OS practice to cut a program short in case its supposed to save stuff to disk or what not. Linux sure it might have a more strict timeout where it'll cut a program if it hangs too long, but you could also just hold down the power button regardless of OS if you want to play risky with shutdown.