Hi i am looking for a way to redirect the output of an exe file that i call within _execl(). (by the way, am i using the _execl() function in the correct way?? ("ARP.exe -a" returns a list of ips connected to the computer over a local network)
CODE so far:
#include <process.h>
using namespace std;
int main()
{
_execl("C:\\Windows\\System32\\ARP.exe", "-a", NULL);
return 0;
}