Apart from that, I see absolutely no difference in the syscalls until one of the fails to write the output file.
Straces attached. Go ahead load them in vimdiff! -- .''`. martin f. krafft <madduck@d.o> @martinkrafft : :' : proud Debian developer `. `'` http://people.debian.org/~madduck `- Debian - when you have better things to do than fixing systems "it takes more keystrokes to enter a windows license key than it takes to do a complete debian desktop install!" -- joey hess
gs-run-from-cupsd.strace.xz
Description: application/xz
gs-run-from-shell.strace.xz
Description: application/xz
digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)