I'm trying to execute
which file.exe
within c++ and want to redirect the result to a string to make further processes
I've tried system and CreateProcess but this executes command and redirects the results to stdout or a file.
but how do I get this result within a local string ?
Thanks