Patrick Hoban scored twice as Dundalk came from behind to take a big three points from Inchicore.
A 10th straight league victory equals Dundalk's 50-year record, but more importantly in this season's title race, it stretches Stephen Kenny's side's lead at the top of the Premier Division table to four points.
Despite a bright start, St Patrick's failed to stop the rot of their horrendous run which sees them create a new club record of seven successive defeats.
Brendan Clarke, back at the club for a third stint, came straight into St Pat's goal following his arrival from Limerick.
And the prodigal Clarke showed his worth with terrific reaction saves from Hoban and Jamie McGrath either side of St Pat's taking a 25th-minute lead.
The tenacity of a marauding Simon Madden won a corner on the river side of the ground.
Jake Keegan was allowed find room in the area to get his head to Killian Brennan's delivery, with Dundalk keeper Gary Rogers unable to keep the ball from the net despite getting a hand to it.
Sloppy defending allowed Dundalk to level six minutes into the second half.
Lee Desmond was caught in possession and Michael Duffy set up Hoban to score with a low drive from the edge of the area.
Seven minutes later Dundalk were ahead. Duffy broke through the middle and fed Chris Shields, whose low drive arrowed into the far corner of Clarke's net.
St Pat's strived until the death, Rogers tipping over a free-kick from Killian Brennan before Dundalk got their third goal on the break three minutes into stoppage-time.
Substitute Kristian Adorjan broke to feed Robbie Benson who laid the ball off for Hoban to tap home his second goal of the game and 21st of the season.