Top "Shutdown" questions

This refers to the process where the system state is systematically (and preferably gracefully) changed to the fully inactive state.

Android emulator won't shut down

The emulator starts up fine. But when you long-press the power button (or F7) and choose "Power off", it displays …

android android-emulator exit shutdown terminate
handling phone shutdown event in android

Could you post a simple code to handle shutdown event. I need manifest and receiver. I need the following: I …

android events shutdown
Java shutdown hook

I have added the following code to my program: Runtime.getRuntime().addShutdownHook(new Thread(new Runnable() { @Override public void run() { …

java hook shutdown
WMI to reboot remote machine

I found this code on an old thread to shutdown the local machine: using System.Management; void Shutdown() { ManagementBaseObject mboShutdown = …

c# .net wmi shutdown
Shutdown the computer using assembly

How can I shutdown the computer using only assembly code?

assembly shutdown
How do i shutdown my heroku app?

I've slowly battled through to the point where I have a working Grails app on Heroku. I'm going to bed …

heroku shutdown
How to use command to shutdown grails run-app

After executing grails run-app, except using Ctrl + C", is there a command to shutdown it?

grails shutdown run-app
How to shutdown Linux using C++ or Qt without call to "system()"?

I want to shutdown an Embedded Linux when a close button is pushed on the UI. I know I can …

c++ c linux qt shutdown
How to "unbind" a socket programmatically?

1) The socket doesn't seem to unbind from the LocalEndPoint until the process ends. 2) I have tried the solutions from the …

c# sockets shutdown ports unbind
Run a batch file on Windows 7 shutdown before closing programs (preferably on power button press)

I have a Windows 7 box with multiple VMWare Player machines that are started on boot. I use WMWare VIX and …

windows-7 batch-file vmware shutdown acpi