Hey All, does any one know if there is a C++ function or a command i can call from the shell that can shutdown/restart haiku or would i have to create a separate function in my application?
Thanks guys :-)
There was a topic that was talking about this and other things a month or so ago.
http://www.haiku-os.org/community/forum/why_cant_i_make_desktop_shutdown...
use: shutdown
shutdown
to turn off the computer. or
shutdown -r
to restart the computer
Comments
Re: Shutdown function or shell command
There was a topic that was talking about this and other things a month or so ago.
http://www.haiku-os.org/community/forum/why_cant_i_make_desktop_shutdown...
Re: Shutdown function or shell command
use:
shutdownto turn off the computer. or
shutdown -rto restart the computer