need to make a function that will take the tokenized path as input and will concatenate the inputted arg[0] onto it and then run it through stat() to see if it is a valid path or not. I am not sure if we have to specify an argument to check the executability. should be done after getline, the getline tokenization, and the path tokenization, but before the execve.
need to make a function that will take the tokenized path as input and will concatenate the inputted arg[0] onto it and then run it through stat() to see if it is a valid path or not. I am not sure if we have to specify an argument to check the executability. should be done after getline, the getline tokenization, and the path tokenization, but before the execve.