repeat/repeat.c
2023-06-29 07:07:57 -06:00

12 lines
198 B
C

#include <stdio.h>
#include <unistd.h>
int main(int argc, char *argv[]) {
while(1) {
system("clear");
system(argv[1]);
usleep(100000); //0.1 second
}
exit(0);
}