ST. LOUIS -- Adam Wainwright got off to a rocky start when his first pitch sailed over the right field wall.
The rest of the game, that went a lot better.
For the 37-year-old Wainwright, it's been a season of satisfaction after being sidetracked in the past with troubles in his right arm.
"It feels nice to be able to go out there, reach back on a fastball, look up, and see a number you used to see when I was pitching," Wainwright said. "It's good to execute."
The contending Cardinals won their second in a row after ending a five-game losing streak.
"Give him the credit," Cardinals manager Mike Shildt said. "He had good tempo, threw strikes, controlled counts, engaged your defense. This is not a real big secret, we're always going to play better defense when our pitchers have that rhythm."
Wainwright (8-8) allowed six hits and struck out eight. He improved to 6-2 this season at home.
"It's fun when you can play his curveball with the 93 mile per hour fastball," catcher Matt Wieters said. "We had a lot of success."
Joe Musgrove (8-11) gave up three runs in 5 1/3 innings to fall to 0-4 against St. Louis this season. He is the first Pirates pitcher with four losses to the Cardinals in a single season since Ryan Vogelsong went 0-4 in 2004.
Pittsburgh has lost seven in a row and dropped 23 of 27 games since the All-Star Break.
"We can't catch a break right now," Musgrove said. "We hit the ball hard in a lot of situations tonight with runners on base and either hit it right at somebody or they made a good play."
"The throw needs more conviction," Pirates manager Clint Hurdle said. "The ball needs to get there. It needs to be not a short-hop bounce. Moran got caught in between and at the end of the day if you're a third baseman you've got to do everything you can to keep the ball in front of you. We weren't able to do that. Third part of it, Musgrove's got to be backing up."
St. Louis made it 1-all when Ozuna grounded into a double play with the bases loaded and no out for the second straight night in the bottom of the first.
St. Louis has not committed an error in a season-best eight consecutive games for its best stretch since going 10 games without a miscue from June 10-20, 2017.
Pirates: C Francisco Cervelli has been cleared to return to catching and will begin a rehab assignment with Double-A Altoona Sunday. He has not played since suffering a concussion on May 25 against the Los Angeles Dodgers.
Cardinals: OF Tyler O'Neill received an injection in his left wrist as he continues to recover from a strain that sent him to the injured list retroactive to Aug. 1. Shildt expects O'Neill will go out on a rehab assignment once the injection takes effect Monday or Tuesday.
Pirates LHP Stephen Brault (3-1, 4.09 ERA) opposes Cardinals RHP Miles Mikolas (7-12, 3.94) in Sunday's series finale. Brault is 2-0 with a 3.35 ERA in 10 starts this season and will be making his second start since being activated from the injured list. Mikolas is 2/3 with a 1.59 ERA and has not allowed more than two runs in any of his five career starts against Pittsburgh at Busch Stadium.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
What we've learned so far during the MLB playoffs -- and what might come next
From who will win it all to what's up with the baseball, Jeff Passan answers this October's 20 biggest questions.
Down 2-1 in ALCS, Yankees leaning on Masahiro Tanaka's big-game experience
Relying on lessons learned in Japan and from countryman Yu Darvish, Masahiro Tanaka has excelled under the brightest lights. New York needs more of the same in Game 4.
The Undefeated Roundtable: Lonnae O'Neal, Martenzie Johnson and Jerry Bembry discuss Ice Cube's comment on diversity in baseball
Does the rapper, actor and BIG3 founder have a point?
'The sound of fear': Thirty years ago, the Loma Prieta earthquake shook the World Series -- and the world
Game 3 of the 1989 World Series was minutes away when tragedy struck the Bay Area. For the players, writers and fans at Candlestick Park that day -- particularly A's ace Dave Stewart -- it was a life-altering event.
MLB playoffs daily: Astros look to push Yankees to the brink
The ALCS picks up again after an unexpected day off, with New York desperate for a win to pull even with Houston.
Zimmerman: Pitching has been the Nats' key all season
Ryan Zimmerman credits the pitching for being the backbone of the team, and playing one game at a time has been the mindset.