[texworks] (Restricted) shell escape failing on macOS 12.2

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Apr 13 00:43:36 CEST 2022

Hello all,

With macOS 12.2, I'm getting failures with (close to) dev. TeXworks when 
I try anything using shell escape/piped input. For example, with input




and example-image-a.eps copied to the working dir., I get error

!!! Error: Cannot open Ghostscript for piped input: gs -q -dSAFER 
-dNOPAUSE -dBATCH -dCompatibilityLevel=1.5 -sDEVICE=pdfwrite 
-dPDFSETTINGS#/prepress -dMaxSubsetPct=100 -dSubsetFonts=true 
-dEmbedAllFonts=true -dAutoRotatePages#/None - -c quit
system returned with code 512

from a pdfLaTeX run. Trying the same at the Terminal is fine.

Amy idea what's up?

----- configuration info -----
TeXworks version : 0.7 ("github") [r.a339582, 11/03/2022 07:55]
Install location : /Applications/TeXworks.app
Library path     : /Users/joseph/Library/Application Support/TUG/TeXworks/
pdfTeX location  : /usr/local/texlive/2022/bin/universal-darwin/pdftex
Operating system : Mac OS X 12.3.1 (Darwin Kernel Version 21.4.0: Fri 
Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64)
Qt version       : 5.12.12 (build) / 5.12.12 (runtime)

More information about the texworks mailing list.