//* Standard C way to start a program *

#include <stdlib.h> #include <stdio.h> int main() { const char program_name[] = "notepad.exe"; int exit_status; fprintf(stdout, "Executing %s\n", program_name); exit_status = system(program_name); fprintf(stdout, "%s returned status of %d\n", program_name, exit_status ); return(0); }