If I understand right, you want to call an executable from within your
program?
For linux it is system, (I have never had the opportunity to play with a
Sun before)

>From the man page (abbreviated to prevent flaming):

<MAN>
NAME
        system - execute a shell command
SYNOPSIS
       #include <stdlib.h>

       int system (const char * string);

DESCRIPTION
       system() executes a command specified in string by calling
       /bin/sh -c string, and returns after the command has  been
       completed.   During execution of the command, SIGCHLD will
       be blocked, and SIGINT and SIGQUIT will be ignored.

CONFORMING TO
       ANSI C, POSIX.1, proposed POSIX.2, BSD 4.3

</MAN>

I hope I got that right...
-- 
+------------------------------------------------------------+
| "Do or do not. There is no try" |        Nicolai Krakowiak |
|                     -Yoda       |   [EMAIL PROTECTED] |
+------------------------------------------------------------+

Reply via email to