Wait for service to stop
This commit is contained in:
parent
8fef0a8e2f
commit
827981d178
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ def enable_windows_updates():
|
|||
|
||||
def stop_service(service_name):
|
||||
"""Stop service."""
|
||||
run_program(['sc', 'stop', service_name])
|
||||
run_program(['net', 'stop', service_name])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Reference in a new issue