Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 08/pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int main(int argc, char *argv[]) {
myargs[0] = strdup("echo");
myargs[1] = strdup("i will get printed in capital letters!!");
myargs[2] = NULL; // marks end of array
execvp(myargs[0], myargs); // runs word count
execvp(myargs[0], myargs); // runs echo
} else {
// parent goes down this path (original process)
close(p[1]);
Expand Down
Loading