Question: Write a special simple command interpreter that takes command and its arguments. This interpreter is a program where the main process creates a child process
Write a special simple command interpreter that takes command and its arguments. This interpreter is a program where the main process creates a child process to execute the command using exec() family functions. After executing the command, it asks for a new command input (i.e., parent wait for child). The interpreter program will get terminated when the user enters quit.
Step by Step Solution
3.46 Rating (156 Votes )
There are 3 Steps involved in it
Heres the C code for a simple command interpreter that meets your requirements include include inclu... View full answer
Get step-by-step solutions from verified subject matter experts
