COMP3301 Simple Shell Program
University of Queensland 2013 Semester 2
Coding style, readability, organization [10/10]
Foreground Execution [10/10]
Background Execution [10/10]
Built-in Command exit [10/10]
Built-in Command cd [10/10]
Input redirection [10/10]
Output redirection [10/10]
Pipes [10/10]
Man page [10/10]
Total : 100/100
Comments: Excellent!
This actually extends the task requirements by allowing unlimited foreground and background tasks.
It's worth noting that this code is vulnerable to race conditions on signal interrupts. Mutexes should be used to fix this.
Free to use under the MIT license.