Rope (1948) ending / spoiler
Rupert Cadell (Stewart) does find out that Brandon and Philip killed David when he finally opens the trunk and sees David's body. Disappointed with his two former students, Cadell takes the gun, which he wrestled from Philip after he tried to kill Cadell with it once Cadell figured out the whole murder scheme, and shoots it several times outside the window which grabs the attention of the police and neighbors. Cadell, Brandon and Philip all wait in the apartment as the police are now on their way there.
Submitted by Big Evil