OAKLAND, Calif. -- Rookie right-hander Dan Straily pitched seven shutout innings and Yoenis Cespedes and Jed Lowrie hit home runs, lifting the Oakland A's to a 2-1 victory over the Houston Astros on Saturday.
After dropping the opener in this four-game series against the last-place Astros, the A's have won two straight as they continue their tight race with Texas for the American League West title.
For much of the game, Straily (9-7) was locked in a duel with Astros rookie left-hander Brett Oberholtzer (4-2).
Straily blanked the Astros on two hits in seven innings, striking out seven, walking one and winning his third straight game.
Oberholtzer allowed one run and two hits in six innings, striking out five and walking none.
The A's took a 1-0 lead in the fourth on Cespedes' leadoff home run into the left-field seats, his 22nd homer of the season. Oberholtzer threw him a 1-1 changeup, but Cespedes, who struck out in the first inning on a curve, wasn't fooled by the offspeed pitch.
Oakland made it 2-0 in the seventh with two outs when Lowrie, a former Astro, sent reliever Josh Zeid's 1-2 pitch over the center field fence for his 11th home run of the season.
The Astros cut Oakland's lead to 2-1 in the eighth. With one out, Brett Wallace roped a double off reliever Dan Otero. Wallace went to third on pinch-hitter Marc Krauss' infield single. He scored on Brandon Barnes' ground ball that Otero fielded and fired to second for the force, nearly throwing the ball past Lowrie.
Left-hander Sean Doolittle relieved Otero and faced the switch-hitting Jonathan Villar. Barnes stole second. But when Barnes tried to steal third, Doolittle wheeled and threw to third baseman Josh Donaldson, who tagged him out, ending the rally.
Jose Altuve singled off Doolittle with one out in the ninth, but Doolittle retired Trevor Crowe on a fly ball to right and Jason Castro on a fly to left for his first save of the season in four chances.
Oberholtzer came in off his first career complete game and shutout, allowing four hits in a 2-0 victory over Seattle. Since joining the Astros' rotation on July 31, he had gone 4-1 with a 1.98 ERA in six starts. That was the lowest ERA during that span of any starting pitcher in the American League.
Straily had gone 0-5 in seven starts before beating the Detroit Tigers on Aug. 28, allowing one run in six innings to end his career-long losing streak. Then he beat the Rangers, giving up two runs in five innings for his second straight win. Now he has a three-game streak.
Straily struck out a career-high 11 batters in his only other career start against Houston on April 5 -- his first start of the season. Straily got the win that night, allowing two runs and five hits in 6 2/3 innings of an 8-3 A's victory.
Straily retired the first eight Astros he faced before walking Barnes. Villar lined a single to left center for the Astros' first hit, but he tried to stretch his single into a double. Bad decision. Cespedes threw a strike to Callaspo at second and nailed Villar for the third out. Instead of having runners on first and third with the dangerous Altuve up, the Astros headed out to the field.
NOTES: A's center fielder Coco Crisp was out of the lineup, getting a scheduled day off. "We try to be careful with him to keep him healthy," A's manager Bob Melvin said. "He plays hard, he plays with that style in every inning of every game, and we've gotten ourselves into trouble at times maybe pushing a little too hard. It's not like I enjoy giving him a day off at this point in time, but we feel like it's the prudent thing to do." ... A's LHP Hideki Okajima cleared waivers and was outrighted Saturday to Triple-A Sacramento. ... Astros LF Robbie Grossman (strained right oblique) was out of the lineup for the fourth straight game but continued to make progressive in his recovery. "It's feeling better every day, getting more range of motion without any pain, so I'm hoping the next couple days I can get some BP," Grossman said.