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

shutdown 的 /h 参数不能与 /t 配合使用 #1

Open
lhyzf opened this issue May 4, 2022 · 0 comments
Open

shutdown 的 /h 参数不能与 /t 配合使用 #1

lhyzf opened this issue May 4, 2022 · 0 comments

Comments

@lhyzf
Copy link

lhyzf commented May 4, 2022

Process.Start(ShutdownCmd, $"-h -t {interval.TotalSeconds}");

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown

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

No branches or pull requests

1 participant