Well, that didn’t take long. Just writing it out prompted the question: Is the problem with Processing 4.4. Answer: Yes.
By downgrading to 4.2 the exec() error disappeared. A bug in release 4.4 or 4.3?
If there is no feedback in a day or so I’ll raise an issue on Github (can’t see any similar issues).