build a shell
Code:
how can I make it loop for infinity and take each time a coomand from the user and how can I make it wait untiul the programme exits befor it print the promot again to recive the second coomand? |
shouldn't it be:
Code:
wait (forkresult) billy |
Quote:
Quote:
Code:
while(1) Quote:
|
Cool, make your own shell... Heh :) Is the bash-shell a big program? I mean, if the shell that this guy made is as good as that one then it would be nice heh :) cuz that makes it very small and easy-to-compile :)
Are you going to build in some build-in programs? |
All times are GMT -5. The time now is 07:00 PM. |