public void Stop(int handle) { var stopProcessId = processManagementService.Start( "docker", $"stop {DockerImageName}"); //wait for docker stop to finish Task.Delay(TimeSpan.FromSeconds(2)).Wait(); //close open windows processManagementService.Stop(stopProcessId); processManagementService.Stop(handle); }
public void Stop() { processManagementService.Stop(webServerProcessId); var client = new MongoClient("mongodb://*****:*****@localhost:27018"); client.DropDatabase(dbInstanceName); }
public void Stop(int handle) { _processManagementService.Stop(handle); }
public void Stop() { processManagementService.Stop(processId); }