Edman connected against Carlos Rodón (5-2) in the third and Aaron Bummer in the eighth for a 2-0 lead. Edmundo Sosa added a two-run single in the ninth, and the NL Central-leading Cardinals came away with the win after losing four of five.
John Gant (3-2) dodged bases-loaded jams in the first and third innings while pitching into the sixth.
Manager Mike Shildt was ejected by third-base umpire Joe West in the seventh.
The Cardinals committed two errors, raising their series total to seven, yet managed to stop a five-game road losing streak.
St. Louis also denied White Sox skipper Tony La Russa a sweep in his first series managing against St. Louis, the franchise the Hall of Famer guided two World Series championships from 1996 to 2011.
Rodón came through with another solid start, giving up one hit in six innings. The left-hander struck out 10 after whiffing a career-high 13 against the New York Yankees last week and did not walk a batter, though he hit two.
AL Central-leading Chicago was 0 for 10 with runners in scoring position.
Gant gave up five hits and walked three. The right-hander exited after Andrew Vaughn reached on a throwing error by third baseman Max Moroff leading off the sixth.
Shildt was ejected with one out in the seventh, after Génesis Cabrera hit Yoán Moncada, putting runners on first and second.
The Cardinals brought in Giovanny Gallegos. West, who on Tuesday set Major League Baseball’s record for most games umpired, apparently noticed something on the pitcher’s cap and made him change it. Shildt argued vehemently and got tossed for the second time this season.
Cardinals: LHP Andrew Miller remains on track for a second rehab appearance Thursday with Triple-A Memphis after throwing a scoreless inning for the minor league club on Tuesday, Shildt said. … RHP Miles Mikolas (strained right forearm) was being examined Wednesday by Dr. James Andrews. “Hopefully, everything checks out as we expect and it’s favorable news,” Shildt said. … OF Tyler O’Neill (fractured middle finger) is expected to return during the Cardinals’ current 10-game trip, though Shildt wouldn’t say when the team expects to activate him. “He’s definitely heading in a really good direction,” Shildt said.
White Sox: RF Adam Eaton exited after the fifth inning because of tightness in his right hamstring. He is day to day.
Cardinals: St. Louis begins a four-game series at struggling Arizona, with RHP Carlos Martínez (3-4, 4.18 ERA) starting for the Cardinals and RHP Matt Peacock (1-1, 4.91) pitching for the Diamondbacks. Martinez returned from a sprained right ankle last week to hold the Cubs to two runs in six innings, before Chicago pulled away for a 12-3 win.
White Sox: RHP Dylan Cease (2-1, 3.18) looks to bounce back from a loss to the New York Yankees as the White Sox open a four-game series against Baltimore. LHP Bruce Zimmermann (2-3, 5.59) gets the ball for the Orioles.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports