[NTG-context] Problem calling system

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Mon May 14 10:56:47 CEST 2012


Hello,

I'd need to call the OS, namely lua in it.

I have the following code:

----
\write18{lua -e "require 'lfs'"}
\write18{lua -e require'lfs'}

\starttext
   A
\stoptext
----

When calling directly from the command line

lua -e "require 'lfs'"

- there is no error.

 From within the Context code, I'm getting (see CmdLine.log):

"
...
lua.exe: (command line):1: '=' expected near 'lfs'
lua.exe: (command line):1: '=' expected near '<eof>'...
"

What could be the problem?

My OS is WinXP 32b.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr at pontex.cz]
Pontex s. r. o.      [mailto:pontex at pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t1.log
Type: application/octet-stream
Size: 12013 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120514/3b0fdf35/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t1.mkiv
Type: application/octet-stream
Size: 95 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120514/3b0fdf35/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CmdLine.log
Type: application/octet-stream
Size: 3919 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120514/3b0fdf35/attachment-0005.obj>


More information about the ntg-context mailing list