Bohs also beat St Pats as Shamrock Rovers won away
Dundalk have got back to winning ways after a 1-0 victory at Wexford Youths.
The reigning League of Ireland champions, who are looking forward to Europa League group stage football after today's draw, were back in domestic action after indifferent Premier Division form of late.
But a David McMillan finish six minutes before half-time had them 1-0 up at Ferrycarrig Park.
Peter Higgins' red card on the hour left Wexford with 10-men as the league leaders took victory.
Peter Higgins of Wexford Youths is sent off by referee Robert Harvey ©INPHO/Ken Sutton
Title-chasing Cork City made sure to keep pace with Dundalk as they defeated Longford Town 5-2 in an entertaining clash at Turner's Cross.
Alan Bennett helped open the floodgates on six minutes before Sean Maguire added a first half-double, with the second of his goals coming from the penalty spot.
St. Patrick's Darren Dennehy with Eoin Wearen of Bohemians ©INPHO/Gary Carr
Peter McGlynn scored twice for Longford on the night either side of a Karl Sheppard second half finish to leave the scores at 4-2.
Bohemians Kurtis Byrne celebrates scoring ©INPHO/Gary Carr
But Sheppard added another to make it 5-2 to John Caulfield's side.
Bohemians took the spoils at St Patrick's Athletic thanks to a Kurtis Byrne goal for a 1-0 win, while Shamrock Rovers were 2-0 winners at Finn Harps through Sean Boyd and Dean Clarke.