Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option for shutting down pc after backup #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

giuseongit
Copy link
Contributor

No description provided.

@tizbac
Copy link
Owner

tizbac commented Oct 1, 2024

I would prefer it being done using Win32 api calls like stated here
https://stackoverflow.com/questions/39595252/shutting-down-windows-using-golang-code

@giuseongit
Copy link
Contributor Author

Can I ask you why you prefer the Win32 api route? In my mind a command call is more stable over the years than a maybe-changing api interface (although I don't think that shutdown api will change over time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants