Hi,
Can anyone pls give a sample to execute a shell script from C program
Thanks
Hi,
Can anyone pls give a sample to execute a shell script from C program
Thanks
#include <stdio.h>
#include <stdlib.h>
int main (int argc, char **argv)
{
system("/path/to/mach.sh");
exit(EXIT_SUCCESS);
}