Hello,
This used to work with pdftex:
\starttext
\input \string|echo hello world
\stoptext
What's the recommended way, to do this in mkiv?
I've defined \Pipe{} like this:
\startluacode
userdata = userdata or {}
function userdata.pipe(c)
local h = io.popen(c)
context(h:read*a)
On 30-1-2011 11:19, Peter Münster wrote:
But I suppose that there is already a nice command in the core... ;)
os.resultof(...)
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 |
Hans Hagen pra...@wxs.nl writes:
On 30-1-2011 11:19, Peter Münster wrote:
But I suppose that there is already a nice command in the core... ;)
os.resultof(...)
Thanks!
No tex-command...?
(not important, \ctxlua{context(os.resultof...)} is ok)
--
Peter
On 30-1-2011 11:43, Peter Münster wrote:
Hans Hagenpra...@wxs.nl writes:
On 30-1-2011 11:19, Peter Münster wrote:
But I suppose that there is already a nice command in the core... ;)
os.resultof(...)
Thanks!
No tex-command...?
never needed it but there is