|
|
pm_message("execing '%s' with args '%s' (arg 0), " | pm_message("execing '%s' with args '%s' (arg 0), " |
"'%s', '%s', '%s', '%s', '%s', '%s', '%s'", | "'%s', '%s', '%s', '%s', '%s', '%s', '%s'", |
ghostscriptProg, arg0, | ghostscriptProg, arg0, |
deviceopt, outfileopt, gopt, ropt, "-q", "-dNOPAUSE", "-"); |
deviceopt, outfileopt, gopt, ropt, "-q", "-dNOPAUSE", "-dSAFER", "-"); |
} | } |
| |
execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q", | execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q", |
"-dNOPAUSE", "-", NULL); |
"-dNOPAUSE", "-dSAFER", "-", NULL); |
| |
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)", | pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)", |
ghostscriptProg, errno, strerror(errno)); | ghostscriptProg, errno, strerror(errno)); |