This commit is contained in:
2024-06-01 16:46:56 +08:00
parent 58ac8d37d1
commit 3eb741178c

17
make/C/make.c Normal file
View 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;
}