Reputation: 4115
What's the difference between running an application in a Linux terminal and Eclipse?
I created a GUI program which runs fine in Eclipse, i.e., build the program in Eclipse and start by pressing "Ctrl + F11". But once I tried to start the program in a terminal, the program fails to start.
I am using GNU C++ compiler, Fedora 16, Eclipse Indigo.
Thanks.
Upvotes: 0
Views: 440
Reputation: 1322
The major differences are probably the working directory and some environment variables that might make things work. There is really nothing else to starting a program that anything like Eclipse could be doing.
What exactly happens when you try to start it in a terminal? We might be able to help you more if you tell us what, if anything, is printed out.
Upvotes: 4