Click to See Complete Forum and Search --> : Compiled Executable file dosn't open


Yosuke_
07-02-2004, 10:29 AM
Hi friends!
I have a litle truble. After I compile my C++ source code with G++ compiler, and when I open my app in terminal like this:
a.out
Everything works. But when I try to open it by just double clicking on a.out it dosn't open. Why can I run my app only in allready open terminal. Why dosn't it open a new terminal? I even tryd to compile it like this:
g++ source.cpp -o myapp
But still nothing!! Why?? Thank you!

Uranus
07-02-2004, 10:33 AM
You can use "aterm -e a.out" to give it an own term. Actually I know of no apps that open a terminal for themselves, except when executed that way.
Sam

Yosuke_
07-02-2004, 10:57 AM
Actually I know of no apps that open a terminal for themselves
What about lynx, pine and others?
When I click kde button - Internet - Terminal Applications there are lftp,lynx,links,pine,mutt and others, and when I click on any of these, new terminal opens. How can I make my app open now terminal for itself?

ph34r
07-02-2004, 10:58 AM
Take a look at those "shortcut" properties. They probably include a command to open the term, and then open the app in that term.