Skip to content

Cross platform Python module for easy system restart reboot and shutdown

License

Notifications You must be signed in to change notification settings

gladykov/rebooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

A cross-platform module for reboot / restart and shutdown of current system. If you need it on Linux, 'sudo chmod u+s /sbin/shutdown' 'sudo chmod u+s /sbin/reboot' or modify sudoers file

Usage

Here's an example on how to use this module:

from rebooter import Rebooter

Rebooter(operation='reboot', delay=False, reason=None, force=False)

More info

On Mac delay, reason and force are not used.

TODO

  • sleep / hibernate
  • logout

About

Cross platform Python module for easy system restart reboot and shutdown

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages