summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/iexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-15 20:16:35 +0000
committerKarl Berry <karl@freefriends.org>2022-10-15 20:16:35 +0000
commit4937b55f5e2286de6075bc02f931d74ab0ab5f74 (patch)
treea7132f743f77d8606060684b0608e0e6453bb9f0 /Master/texmf-dist/tex/latex/iexec
parent01d5c331eabd2c51803456840e02114d27323fd0 (diff)
iexec (15oct22)
git-svn-id: svn://tug.org/texlive/trunk@64707 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/iexec')
-rw-r--r--Master/texmf-dist/tex/latex/iexec/iexec.sty31
1 files changed, 17 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/iexec/iexec.sty b/Master/texmf-dist/tex/latex/iexec/iexec.sty
index 3aea422ecc0..4eca7db498a 100644
--- a/Master/texmf-dist/tex/latex/iexec/iexec.sty
+++ b/Master/texmf-dist/tex/latex/iexec/iexec.sty
@@ -31,7 +31,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{iexec}
-[2022-10-12 0.9.0 Inputable Shell Executions]
+[2022-10-15 0.9.1 Inputable Shell Executions]
@@ -48,27 +48,30 @@
\RequirePackage{shellesc}
-\RequirePackage{pgfkeys}
-\RequirePackage{expl3}
\RequirePackage{xkeyval}
-\makeatletter\newif\ifiexec@trace
+\makeatletter
+\newif\ifiexec@trace
\DeclareOptionX{trace}{\iexec@tracetrue}
-\ProcessOptionsX\relax\makeatother
+\ProcessOptionsX\relax
+\makeatother
+
+\RequirePackage{pgfkeys}
\makeatletter\pgfkeys{
/iexec/.is family,
/iexec,
- stdout/.estore in = \iexec@stdout,
+ stdout/.store in = \iexec@stdout,
stdout/.default = iexec.tmp,
- stderr/.estore in = \iexec@stderr,
- trace/.estore in = \iexec@traceit,
- append/.estore in = \iexec@append,
- log/.estore in = \iexec@log,
- null/.estore in = \iexec@null,
- quiet/.estore in = \iexec@quiet,
+ stderr/.store in = \iexec@stderr,
+ trace/.store in = \iexec@traceit,
+ append/.store in = \iexec@append,
+ log/.store in = \iexec@log,
+ null/.store in = \iexec@null,
+ quiet/.store in = \iexec@quiet,
stdout
}\makeatother
+\RequirePackage{expl3}
\makeatletter\ExplSyntaxOn
\NewDocumentCommand{\iexec@typeout}{m}{
\iexec_typeout_file:n { #1 }}
@@ -85,10 +88,10 @@
\makeatletter\newcommand\iexec[2][]{%
\begingroup
\pgfqkeys{/iexec}{#1}%
- \ifdefined\pdfshellescape\ifnum\pdfshellescape=1\else%
+ \ifnum\ShellEscapeStatus=1\else%
\PackageError{iexec}{You must run TeX processor with
--shell-escape option}{}%
- \fi\fi%
+ \fi%
\begingroup%
\message{^^J}%
\let\%\@percentchar%