Explorar el Código

anonymous man makes program better

tags/v20240302
Emil Williams hace 3 meses
padre
commit
a5aa6c466a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      bake.c

+ 1
- 1
bake.c Ver fichero

@@ -306,7 +306,7 @@ run(char * buf) {
fputs(GREEN "output" RESET ":\n", stderr);
pid_t pid = fork();
if (!pid) {
execl("/bin/sh", "-c", "'ls bake.c'", NULL);
execl("/bin/sh", "sh", "-c", buf, NULL);
} else {
int status;
waitpid(pid, &status, 0);


Cargando…
Cancelar
Guardar