I\'m trying to write a shell, and part of its construction is executing code from a user-inputted string (buffer). However, when I attempt to execvp the string with additional i
The argument buffer is wrong. The second argument of execvp is an array of pointers. With this cast, you are hidding a compiler warning, but it does not work.