Page 2 of 2

Re: runprogram Command in Mac OS

Posted: Thu Apr 11, 2024 7:45 am
by JohnF
Hello Piero,

Yes, the code you provided solved the problem. From this I now understand what I was missing. I believed that sending the Commandline$ directly to exiftool within RunProgram (which works in windows) should work the same way in MacOS. It simply does not. I also believed that sending the Commandline$ would be equivalent to sending the string through WriteProgramStringN. This also seems not to be true. Finally, I now understand that sending the full command string to "/bin/zsh" is the same as executing it in the Terminal - which was exactly what you where trying to get across.

It would be great if there was some solid documentation for this - both for Windows as well as for MacOS. Maybe there is, but try as I might, I could not find it.

Now that you've cracked the code, I will also also go back to my first program and bring it over to MacOS as well. I'll be traveling the end of this week for a several weeks so expect it to go quiet, but if I have additional questions, I'll certainly post again.

Warmest Regards from Redwood City, California,
John

Re: runprogram Command in Mac OS

Posted: Thu Apr 11, 2024 10:32 am
by Piero
JohnF wrote: Thu Apr 11, 2024 7:45 am Warmest Regards from Redwood City, California,
John
Again, you are very welcome!

PS: Don't tell Fred, but I still consider it as a BIG BUG of RunProgram :wink:

Re: runprogram Command in Mac OS

Posted: Fri May 03, 2024 10:44 am
by Piero
Added Some Tips