MBall0u / atlas-simple_shell

1 stars 1 forks source link

built-in function? #5

Open MBall0u opened 1 month ago

MBall0u commented 1 month ago

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.

MBall0u commented 1 month ago

i made this as well