Need to close write end of pipe in second parent so the child of that process is not left waiting for input from write end of pipe. I was playing around with the code on here and I was wondering for the longest time why after my second execvp() the program was dangling.
I tested using: ls -al | cat which should have outputted whatever ls -al did, which it did, but it also left the program constantly asking for input.
fixed braces bug
fixed date: Wed is May 6
rescheduled labs
hw4 mods
lecture notes
lecture notes
fixed a typo in BoostTokenizer README.md
fixed download GDB link
updated hw3
updated office hours
fixed wording in io.md
Fixed typos
Update README.md
Added closing statement in parent 2
Need to close write end of pipe in second parent so the child of that process is not left waiting for input from write end of pipe. I was playing around with the code on here and I was wondering for the longest time why after my second
execvp()
the program was dangling.I tested using:
ls -al | cat
which should have outputted whatever ls -al did, which it did, but it also left the program constantly asking for input.Source: http://stackoverflow.com/questions/5610184/input-redirection-problem-while-using-execvp
forgot to add to previous pull request
oldfd
is the file descriptor you want to change tonewfd
bycopingcopyingoldfd
tonewfd
fixed braces bug
Edited file formating
Unclear wording
due date
added source for dup
cartoon video from textbook folder
added links
lecture notes
Update README.md
Update README.md
revised regex tutorial
I found the tutorial to be very hard to follow. I edited bits and pieces but please look over them
put command on one line
put command on one line2
some typo. made it look nicer
2015winter to 2015spring
mikes comments
proper paragraph code block
removed space. how do i squash
fixed spelling and grammar mistakes
missing a right parenthesis
added video
fixed typo
fixed spelling error, grammar, and formatting for README.md in textbook/assignment-help/sort.
added links
removed video
removed submodule
added link
fixed backticks and capitalization
fixed backticks and capitalization
fixed backticks and capitalization
fixed backticks and capitalization