Thread: executing commands from new terminals

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    5

    executing commands from new terminals

    HI and thanks for reading,

    I'm fairly new to c programming and I'm hung up.

    I have a c program written in Red Hat 7.2 and I would like that program to open a new terminal window and run a program in that new terminal window.

    Does anybody have an idea how I could do this?
    Thanks

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    5
    Nuts. sorry, I just found it out:

    gnome-terminal -e, command/COMMAND


    any other ideas/methods are certainly welcome!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Executing DOS commands from inside an image
    By Moony in forum C Programming
    Replies: 6
    Last Post: 03-16-2008, 12:40 PM
  2. Run Error, Commands Executing Simultaneously..
    By MistuRaz in forum C Programming
    Replies: 3
    Last Post: 12-10-2006, 04:10 AM
  3. Executing system commands cross platform
    By markucd in forum C++ Programming
    Replies: 6
    Last Post: 11-04-2005, 08:56 AM
  4. Replies: 1
    Last Post: 03-11-2003, 05:36 PM
  5. Executing shell/dos commands
    By Zaarin in forum C++ Programming
    Replies: 2
    Last Post: 08-28-2001, 10:29 PM