@@ -251,6 +251,7 @@ char *getPrompt() {
printf("Error forking\n");
} else { // Parent process
close(input.read);
close(input.write);
close(output.write);
outputFileD = fdopen(output.read, "r");
The note is not visible to the blocked user.