Forum Discussion
Altera_Forum
Honored Contributor
21 years agoYou might like to look into the "system" function, and "exec" and friends. However, if you find that your application mostly just runs other programs you could probably replace it with a shell script (or maybe even perl script: does perl run on these systems yet?). Excerpt from the system manpage:
<div class='quotetop'>QUOTE </div> --- Quote Start --- 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.[/b] --- Quote End --- HTH.