Francisco Liriano struck out a season-high 11 in seven innings to win consecutive starts for the first time this season and the Pittsburgh Pirates beat the San Francisco Giants 3-1 on Tuesday night. San Francisco Giants' Tim Hudson works against the Pittsburgh Pirates in the first inning of a baseball game Tuesday, July 29, 2014, in San Francisco. Pittsburgh Pirates' Francisco Liriano works against the San Francisco Giants in the first inning of a baseball game Tuesday, July 29, 2014, in San Francisco. Pittsburgh Pirates' Francisco Liriano works against the San Francisco Giants in the first inning of a baseball game Tuesday, July 29, 2014, in San Francisco. Pittsburgh Pirates' Travis Snider, left, is congratulated by Ike Davis (15) after Snider hit a two run home run off San Francisco Giants' Tim Hudson in the second inning of a baseball game Tuesday, July 29, 2014, in San Francisco.