Thread: Programs opening programs

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

    Programs opening programs

    Hi, I'm rather new to programming in C so I have a question for anyone...


    I have a Data Acquisition (DAQ) card hooked up to my linux box. I have a program to read the inputs to the card and I am creating a menu-driven program to use the features of the board.

    How can I have my menu program call the other program without closing the current program. I have been messing with the 'exec' commands from (unistd.h), but they close the current program.

    Ideall, I would like to call the other program and have it run and exit in the background without closing the current program...

    any ideas?

    Thanks...

  2. #2
    Registered User
    Join Date
    Nov 2002
    Posts
    5
    You're a genius! Thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 07:32 AM
  2. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 05:42 AM
  3. Opening Programs.
    By Unregistered in forum C++ Programming
    Replies: 13
    Last Post: 06-23-2002, 04:40 AM
  4. Opening other programs from a program
    By Waldo2k2 in forum Windows Programming
    Replies: 2
    Last Post: 06-02-2002, 06:01 PM
  5. Opening programs through a network
    By canine in forum Windows Programming
    Replies: 2
    Last Post: 11-22-2001, 11:12 PM