From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62448 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: calling ConTeXt as a background process Date: Fri, 8 Oct 2010 11:21:40 +0200 Message-ID: <62D293EE-F414-4710-B165-365EC9E0795A@fiee.net> References: <4CAD8800.2010909@elvenkind.com> <4CAD8D8A.6040802@elvenkind.com> <5A1428AE-DA31-4120-9B35-102E7B42D8AC@fiee.net> <90F33E64-7BB9-4DEB-9E89-A4FC99169401@awi.de> <48470924-D44D-4010-B895-12EA664C4D90@fiee.net> <4CAE0E7B.4000307@elvenkind.com> <2932BD8B-6EC7-4D37-A816-467484051DE8@fiee.net> <155FF918-2AC1-4C82-B5C1-6EF3BE120FB5@gundla.ch> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1286529715 12530 80.91.229.12 (8 Oct 2010 09:21:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Oct 2010 09:21:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 08 11:21:54 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P499C-000266-SR for gctc-ntg-context-518@m.gmane.org; Fri, 08 Oct 2010 11:21:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 096BACA75C; Fri, 8 Oct 2010 11:21:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id S79Gs5JT+2Xc; Fri, 8 Oct 2010 11:21:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 144B9CA749; Fri, 8 Oct 2010 11:21:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BBFD2CA749 for ; Fri, 8 Oct 2010 11:21:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id j-eKahZIVzxc for ; Fri, 8 Oct 2010 11:21:42 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 8C4B8CA72E for ; Fri, 8 Oct 2010 11:21:42 +0200 (CEST) Original-Received: from turan.fiee.net (turan.fiee.net [87.230.77.106]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o989LffE021570 for ; Fri, 8 Oct 2010 11:21:42 +0200 X-No-Auth: unauthenticated sender Original-Received: from turan.fiee.net (lvps87-230-77-106.dedicated.hosteurope.de [127.0.0.1]) by turan.fiee.net (Postfix) with ESMTP id 1AF0335D4401E for ; Fri, 8 Oct 2010 11:21:41 +0200 (CEST) Original-Received: from [10.128.9.9] (199-149.76-83.cust.bluewin.ch [83.76.149.199]) by turan.fiee.net (Postfix) with ESMTP for ; Fri, 8 Oct 2010 11:21:41 +0200 (CEST) In-Reply-To: <155FF918-2AC1-4C82-B5C1-6EF3BE120FB5@gundla.ch> X-Mailer: Apple Mail (2.936) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=87.230.77.106; country=DE; region=07; city=Host; latitude=51.6500; longitude=6.1833; http://maps.google.com/maps?q=51.6500,6.1833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDg9lFXU - 760ccbd6512d - 20101008 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:62448 Archived-At: Am 2010-10-08 um 10:12 schrieb Patrick Gundlach: > I don't think it's in the LuaTeX area, for LuaTeX is just a regular > process. Hm, I suspect it might be some system call inside LuaTeX that is blocked or the like. > I have to admit that I have run into similar problems with different > software I tried to run from a "server process" (whatever this > means) and it always took me some time to get it right. At the end > it was aways clear to me why it wouldn't run (but I can't remember > anymore, since it is many years ago). So I suggest to replace the > LuaTeX call with different other software and see where it breaks. > Use software that reads STDIN, that writes to STDOUT/STDERR and > alike and see if they are ok. A simple case like python -c "print 'Hello'" works ok. I tried shell commands and simple tools (echo, set, date, touch) before, and strace works, too. Even "texlua --help" works, so it's not texlua generally. texlua --script context --batchmode --once hello gives: "Script file context not found" (at least a usable error message, nothing hangs) The same with /var/opt/context/tex/setuptex && texlua --script context --batchmode -- once hello Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ 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 ___________________________________________________________________________________