From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62431 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: calling ConTeXt as a background process Date: Thu, 7 Oct 2010 17:48:06 +0200 Message-ID: References: <4CAD8800.2010909@elvenkind.com> <0E9F8810-A7FC-4C0D-905B-93563778833C@gundla.ch> <42FA8D71-B1E3-4762-B5B7-34664685D99E@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1286466500 15253 80.91.229.12 (7 Oct 2010 15:48:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2010 15:48:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 07 17:48:19 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 1P3shd-000882-4z for gctc-ntg-context-518@m.gmane.org; Thu, 07 Oct 2010 17:48:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5BCA8CA723; Thu, 7 Oct 2010 17:48:16 +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 1+9x31tYEi6b; Thu, 7 Oct 2010 17:48:13 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46ACFCA70D; Thu, 7 Oct 2010 17:48:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BD11CA70D for ; Thu, 7 Oct 2010 17:48:11 +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 If4l9-xDITf7 for ; Thu, 7 Oct 2010 17:48:09 +0200 (CEST) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 45BCCCA707 for ; Thu, 7 Oct 2010 17:48:09 +0200 (CEST) Original-Received: from mail-qw0-f41.google.com (mail-qw0-f41.google.com [209.85.216.41]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o97Fm7Wp007055 for ; Thu, 7 Oct 2010 17:48:07 +0200 Original-Received: by qwb8 with SMTP id 8so154841qwb.14 for ; Thu, 07 Oct 2010 08:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=JpTVup5cbNFVTskJHBKSaV3VGh/pBNFNNah9z0iNNUU=; b=sETFrmGE3Ek/xZtFV586h2jCPgIVJDGp+QE7QMnJVbGKCNzVRcppe3v7vhftsYweOh eugfRzkcOGe4VICn+VeQ5CthCkDBl0k0P9Va/SiQTVATCSMCBeD83iyszeoUta9zlonT 1PcO7rY7H4d3O8SNzDb3fT4WP/wMupQEv3SjQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=om/pu23FZWiLAxu+/sHpxBUq2+E5sWm6DKTRNcygUG/3I9BQEkjX2wkZ+cfvh5Mco8 qY4ql+9Colz1txjx//WYs4gRbWcw1FQLrcr+eMrcv3lLBKBYSCwEXv080wDIRRGyk6Cj A7TAnqzjrXNUDTyEz6YZ/Ytp3605m2xCDcwqU= Original-Received: by 10.224.59.214 with SMTP id m22mr447691qah.1.1286466486594; Thu, 07 Oct 2010 08:48:06 -0700 (PDT) Original-Received: by 10.229.251.193 with HTTP; Thu, 7 Oct 2010 08:48:06 -0700 (PDT) In-Reply-To: <42FA8D71-B1E3-4762-B5B7-34664685D99E@fiee.net> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDfPM7Jf - 479a291712e9 - 20101007 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:62431 Archived-At: On Thu, Oct 7, 2010 at 5:44 PM, Henning Hraban Ramm wrote: > Am 2010-10-07 um 12:27 schrieb Patrick Gundlach: > >>> How's ConTeXt called in ConTeXtgarden Live? Any special means? >> >> http://github.com/pgundlach/contextlive/blob/master/runtexexec.c >> >> I use fork()/exec() combination in C. > > Ok, I won't use C... > > I guess it's a problem of my specific combination of Ubuntu/SElinux, > Django/fcgi and LuaTeX... :-( > I found others running latex from Django in exactly the same matter as > ConTeXt fails for me. > But I can call other programs that way, so part of the problem is in LuaTeX. 1) Are you sure to have done source setuptex before run luatex 2) does os.system(...) in python only work ? -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________