Hello!
I am writing a program to execute another process. But the argment string has " ) ( ; / \ symbols. So it does not allow me to start the program with the true string (argument)...
Here is the program: the program is on the user agent string:
#include <unistd.h>
#include <stdio.h>
int main()
{
char *args[] = { "--user-agent="Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0"", NULL };
execv("C:\\Users\\userl\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe", args);
return 1;
}