Running a script from within swift app (QLExtension)

Try without sandbox? I remember having a similar issue recently.