a narrow escape/squeak
A situation in which danger or problems are barely avoided. That guy barely made it over the tracks before the train came. What a narrow escape!
1. A victory or success that very nearly ended in failure. After his narrow squeak at the polls, the prime minister must find a way to instill confidence in the country at large once again. After a narrow squeak, they have managed to hold onto their league championship.
2. A situation in which danger or problems are barely avoided. We had just cleaned and tidied the fridge before the health inspector arrived. What a narrow squeak! The expedition had a very narrow squeak when an avalanche tore through the path from which they had just come.
Fig. a success almost not achieved; a lucky or marginal success; a problem almost not surmounted. That was a narrow squeak. I don't know how I survived. Another narrow squeak like that and I'll give up.
A barely successful flight from or avoidance of danger or trouble, as in He had a narrow escape, since the bullet came within inches of his head. This expression uses narrow in the sense of "barely sufficient." [Late 1500s] For a newer synonym, see close call.
a narrow eˈscape/ˈsqueaka situation where somebody only just avoids injury, danger or failure: We had a narrow escape on the way here. The wind blew a tree down just in front of us. We could have been killed.
n. a success almost not achieved; a lucky or marginal success; a problem almost not surmounted. That was a narrow squeak. I don’t know how I survived.