Skip to content
Discussion options

You must be logged in to vote

Could you elaborate a bit more?

Do you mean that you want to shut down or restart the operating system from the web application? Perhaps you could explain what your goal is if so.

One way to do that (if it's your goal) would be to just use node's child_process.exec to call the shell's shutdown command (shutdown now or shutdown -r now for some linuxes).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@wemersonrv
Comment options

@Banashek
Comment options

@wemersonrv
Comment options

Answer selected by wemersonrv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants