The following code works fine while not compiled but when compiled it doesn’t work. No error.
exec(’“C:\Users\pc\Documents\Image Folder\convert.exe” -strip “C:\Users\pc\Documents\Image Folder\image.jpg” -resize 600 “C:\Users\pc\Documents\Image Folder\image-resized.jpg”’);
It seems to be because of the spaces in the path for convert.exe as the following works fine when compiled.
exec(’“C:\Users\pc\Documents\ImageFolder\convert.exe” -strip “C:\Users\pc\Documents\ImageFolder\image.jpg” -resize 600 “C:\Users\pc\Documents\ImageFolder\image-resized.jpg”’);
Can you tell me please if you have any fix for this ?