How to execute shell command in C language

ht‮:spt‬//www.lautturi.com
How to execute shell command in C language

we can use "system" function to call system command:

int system(const char *command);
#include <stdlib.h>

system("pwd");
Created Time:2017-08-28 16:00:50  Author:lautturi