Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-24-2005, 05:55 AM   #1
LQ Newbie
Registered: Mar 2005
Location: Mumbai
Posts: 5

Rep: Reputation: 0
How to open gnome-terminal through code


int main()
int a;

How to execute this code in a new terminal.
I tried
$ gnome-terminal a.out
but terminal exits immediately.
I am trying to emulate the anjuta ide(

Old 03-24-2005, 11:01 AM   #2
Registered: Feb 2004
Location: Slovenia
Distribution: archlinux
Posts: 271

Rep: Reputation: 31
Well, usually terminals (mostly running bash, Bourne Again SHell) don't execute C (or C++) code.

If you would describe better what you are trying to do we might be able to help you better .




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
open terminal here in GNOME contrasutra Linux - Software 1 08-30-2007 04:56 PM
keyboard command: open gnome terminal daedalusq1115 Linux - Newbie 1 01-18-2005 04:29 PM
how to set gnome-terminal to open in full screen by default ankur_linuxfan Linux - Software 0 01-18-2005 06:45 AM
KDE - Open Terminal Here Code hi_chan Linux - Software 4 03-14-2004 04:12 AM
Open Firmware code for booting OS from SATA : sample code available somewhere ? drsparikh Linux - Hardware 0 03-12-2004 12:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration