On Wed, Sep 25, 2002 at 03:45:23PM +0200, cana rich wrote:
> 
> Hello,
>     I have a RedHat 7.2 and i am making a C program which launch an other program. 
>Can somebody tell me what command i have to use? (for exemple in windows, i would use 
>"Winexec(path_to_program,0);" 
> Thanks
> Canarich
> 

There's more than one way to do it, depending on exactly what you
are wanting to do.

Check the man pages on:
        fork()
        the execxx() family (execlp, execve, etc., etc.)
also check wait(), waitpid(), etc.


-- 
---- Fred Smith -- [EMAIL PROTECTED] -----------------------------
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
      it with justice and righteousness from that time on and forever."
------------------------------- Isaiah 9:7 (niv) ------------------------------



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to