addmain
This commit is contained in:
17
make/C/make.c
Normal file
17
make/C/make.c
Normal file
@@ -0,0 +1,17 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
char shell[50] = "sudo ";
|
||||
strcat(shell,argv[1]);
|
||||
system(shell);
|
||||
// printf(shell);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user