Open PatrickMckay1998 opened 3 months ago
I have been looking into getenv() to use in our program, will add it to my test_function and see what I can do with it. I am curious if I need to use it before execve because part of the execve syntax includes the environment (Don't quote me on that)
We have an understanding of what needs to go into starting our shell program, asking for a command then turning that command into a token using strtok.
Our next hurdle is taking that command and executing that command.
We know we will be using fork and execve.
We have our ingredients we just need to put them together.