It's strange how it would suddenly work when the only difference is the fact that you ran it in a terminal. The intended effect only should have been that you got some terminal output that can help the developers here understand why your app isn't running. I think it's probably a wise idea to post the terminal output for this reason, anyway