environ #15

Merged
cromer merged 27 commits from environ into master 2021-07-17 22:15:24 -04:00
Showing only changes of commit fd4fd05f2c - Show all commits

View File

@ -39,6 +39,7 @@ void launch_program(StringArray *args) {
execvp(args->array[0], argv); execvp(args->array[0], argv);
fprintf(stderr, "%s: command not found\n", args->array[0]); fprintf(stderr, "%s: command not found\n", args->array[0]);
free_string_array(args);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
else if (child < 0) { else if (child < 0) {