From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76182 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5IEluZy4gLSBQb250ZXggcy4gci4gby4=?= Newsgroups: gmane.comp.tex.context Subject: Re: Problem calling system Date: Tue, 15 May 2012 09:05:46 +0200 Message-ID: References: <4FB0DA4A.6090302@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=----------HhJYgF41LfVMWyQ4QKSJJl X-Trace: dough.gmane.org 1337065573 14740 80.91.229.3 (15 May 2012 07:06:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 May 2012 07:06:13 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue May 15 09:06:11 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SUBph-0002Oh-Hr for gctc-ntg-context-518@m.gmane.org; Tue, 15 May 2012 09:06:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE551101CF; Tue, 15 May 2012 09:06:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mXRJxkqyPgw7; Tue, 15 May 2012 09:06:07 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A9417101DF; Tue, 15 May 2012 09:06:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E11A101DF for ; Tue, 15 May 2012 09:06:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3wCMum3dv44S for ; Tue, 15 May 2012 09:06:02 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 4DA69101CF for ; Tue, 15 May 2012 09:06:02 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4F75xuV024031 for ; Tue, 15 May 2012 09:06:01 +0200 Original-Received: from localhost ([127.0.0.1]) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Tue, 15 May 2012 09:05:51 +0200 In-Reply-To: User-Agent: Opera Mail/11.62 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; latitude=49.7500; longitude=15.5000; http://maps.google.com/maps?q=49.7500,15.5000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHa760WQ - a254e04a8398 - 20120515 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76182 Archived-At: ------------HhJYgF41LfVMWyQ4QKSJJl Content-Type: text/plain; charset=iso-8859-2; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Hello, I slightly modified the example - my code now is: ---- \ctxlua{os.execute([[echo lua -e "print 'WWW'"]])} \starttext A \stoptext ---- So now I'm able to diagnose what exactly is passed to the command line. I'm getting: " ... languages > language en is active lua -e "print "WWW"" {c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} ... " So it can be seen that [surprisingly] character ' was substituted for " = - and IMHO this causes the problem. Could anyone explain why this substitution is performed and how to avoid= it? Best regards, Lukas -- = Ing. Luk=E1=B9 Proch=E1zka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezov=E1 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ------------HhJYgF41LfVMWyQ4QKSJJl Content-Disposition: attachment; filename=t1.mkiv Content-Type: application/octet-stream; name="t1.mkiv" Content-Transfer-Encoding: Base64 JVx3cml0ZTE4e2x1YSAtZSAicmVxdWlyZSAnbGZzJyJ9DQolXHdyaXRlMTh7bHVh IC1lIHJlcXVpcmUnbGZzJ30NCg0KJVxjdHhsdWF7b3MuZXhlY3V0ZShsdWEgLWUg InJlcXVpcmUgJ2xmcyciKX0NCiVcY3R4bHVhe29zLmV4ZWN1dGUoW1tsdWEgLWUg InJlcXVpcmUgJ2xmcyciXV0pfQ0KJVxjdHhsdWF7b3MuZXhlY3V0ZShbW2VjaG8g YzovTHVrYXMvQ3BwL1Byb2plY3Rzfi9MdWEvRGVidWcvTHVhLmV4ZSAtZSAicHJp bnQgJ1dXVyciXV0pfQ0KDQpcY3R4bHVhe29zLmV4ZWN1dGUoW1tlY2hvIGx1YSAt ZSAicHJpbnQgJ1dXVyciXV0pfQ0KDQpcc3RhcnR0ZXh0DQogIEENClxzdG9wdGV4 dA0K ------------HhJYgF41LfVMWyQ4QKSJJl Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ------------HhJYgF41LfVMWyQ4QKSJJl--