Question: I'm writing a program using fork and exec in linux. I'm ok with the fork command, but the exec command has to read in an

I'm writing a program using fork and exec in linux. I'm ok with the fork command, but the exec command has to read in an unknown number of command line items (0 to ....) for the child to perform.

I'm not sure how to set that up or what exec options to use.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!