I'm trying to generate a pdf from a latex file with the command exec but it doesn't seem to recognize "xelatex".
When I echo any other command like "ls" with exec it works. Also, the file is generated when I run the command from cmd.
Any idea what the problem might be ?
I'm working on windows10.
Thanks,