saltstack/salt — pull request #9928 by thematthopkins (2014-01-24 15:33:53+00:00)
Title: Fixes issues w/ starting broken services on Windows

In cases where a salt attempted to start a windows service, but the windows service failed to start, salt was reporting that the service was running successfully.

The problem is that it was using

```
sc start
```
which is an asynchronous call that always has a return code of 0. This is now switched to

```
net start
```
which blocks until the service starts, or on failure, returns a proper error code salt can detect.