Prior (9-5), who made his first appearance since injuring his shoulder in a collision with
on July 11, allowed two hits and struck out six.
He threw 52 of his 79 pitches for strikes and issued only one walk in winning for the first time since June 14.
"We had to (take Prior out)," Cubs manager
said. "I was kind of hoping he could go about 90 (pitches) but (the trainer) said about 70. So he came out right on time. He gave us what we needed."
The Padres did not get a runner past second base against Prior, who also had a hit to raise his batting average this season to .250. It was the righthander's first win in two starts against his hometown team.
"I wouldn't say I was in complete command," Prior said. "There were some things I knew mentally that I wanted to do. But physically, I'm not there yet, as far as refining some pitches."
pitched a perfect eighth before the Cubs got a pair of insurance runs on Ramirez's first homer since being traded from the
on July 22.
"It felt pretty good, especially because it was a big home run, a two-run homer in the ninth," Ramirez said. "I am glad I came through."
then came in to pick up his 20th save. He had to struggle to get it, though, after issuing a leadoff walk to
. Ramirez and
Hee Seop Choi
then made back-to-back errors to load the bases, but
grounded into a double play to end the game.
"We missed out," Padres manager
said. "We had a couple of good opportunities. We just didn't get the big hits."
The game-ending play was another defensive gem as
made up for an 0-for-4 night at the plate by going into the hole to start the twin killing.
(5-14) lost his fifth straight start despite allowing only one run and six hits in six innings. The righthander, who walked one and struck out three, has not won since July 1.
"I pitched a lot better and made some very good pitches tonight," Lawrence said. "Unfortunately, the breaks didn't go my way. I feel like I can build off of this. I had control of all four of my pitches tonight. My slider was a lot better. I don't think the wins and losses reflect how I've pitched."
The Cubs' only run against Lawrence came in the third inning when
singled with one out and scored on a double to left field by
then singled to center, but Martinez was thrown out at the plate. After
walked, Lawrence escaped further trouble by striking out Choi.
The Padres, who left seven runners on base, were shut out for the sxith time this season and the second time this month. San Diego lost 6-0 at Philadelphia on Friday.
had one of the two hits against Prior and has hit safely in nine of 11 games since coming back from the disabled list.