I want to call an executable from a C application . Here is my code:
execl("/home/ion/workspace/DNS/Debug","DNS","216.58.198.164","A",(char*)NULL);
where IP and "A" are supposed to be argv[1] and argv[2]
This application called DNS is supposed to write something an a file , but it's not working when I call it with execl like that . Can anyone help me please?