In particular, I need to call the exec version, which maintains the current working directory and sends the standard version to the same terminal as the program that calls exec. I also have a vector of string arguments that I need to pass in some way, and I wonder how I will deal with this. I was told that all this is possible exclusively with fork and exec , and given the terrible lack of documentation on google, I was unable to get the exec part to work.
What exec method am I looking for that can do this, and what should I call it?
source
share