Question: Assignment 2 will introduce executing process from a child process. Use the execvp ( ) and fork ( ) commands to accomplish this. Your program
Assignment will introduce executing process from a child process. Use the execvp and fork commands to accomplish this. Your program should:
Check to verify the fork was created
wc Word Count the cpp file on the child process
Print the results to the standard output
Take a look at C Execvp examples to assist you in this assignment
Save the file as cpp Each of the bold bullets will count as of the grade for this assignment. For example, if you successfully check to verify the fork was created and run the word count, but fail to print the results, you will only be created for completing s of this assignment.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
