From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62422 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.comp.tex.context Subject: Re: calling ConTeXt as a background process Date: Thu, 7 Oct 2010 21:16:30 +1100 Message-ID: <746538930812A54DA07A768D5232947001CA302E73@exvic-mbx01.nexus.csiro.au> References: <4CAD8800.2010909@elvenkind.com>, 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 1286446609 5954 80.91.229.12 (7 Oct 2010 10:16:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2010 10:16:49 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 07 12:16:48 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 1P3nWp-0006gK-Om for gctc-ntg-context-518@m.gmane.org; Thu, 07 Oct 2010 12:16:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 47664CA721; Thu, 7 Oct 2010 12:16:46 +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+BwoA7WsKQx; Thu, 7 Oct 2010 12:16:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3BDC6CA709; Thu, 7 Oct 2010 12:16:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8ABE8CA707 for ; Thu, 7 Oct 2010 12:16:42 +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 hhixLMHBgMMy for ; Thu, 7 Oct 2010 12:16:39 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 3EF8ACA709 for ; Thu, 7 Oct 2010 12:16:39 +0200 (CEST) Original-Received: from act-MTAout1.csiro.au (act-MTAout1.csiro.au [150.229.7.37]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o97AGXDk002722 for ; Thu, 7 Oct 2010 12:16:37 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=csiro.au; i=Robin.Kirkham@csiro.au; q=dns/txt; s=email; t=1286446598; x=1317982598; h=from:to:date:subject:message-id:references:in-reply-to: content-transfer-encoding:mime-version; z=From:=20|To:=20|Date:=20Thu,=207=20Oct=202010=2021:16:30=20+1100 |Subject:=20RE:=20[NTG-context]=20calling=20ConTeXt=20as =20a=20background=20process|Message-ID:=20<746538930812A5 4DA07A768D5232947001CA302E73@exvic-mbx01.nexus.csiro.au> |References:=20=0D=0A=09=0D=0A=09<4CAD8800.2010909@elvenkind.com>,|In-Reply-To:=20 |Content-Transfer-Encoding:=20quoted-printable |MIME-Version:=201.0; bh=NC3DUgVcwyU31flVl709ksLq8JwsaFumTY5BfbMLBx8=; b=HRwAQaybWafW6BLNPrOQx+USrdSw3zZFCb7tZawQqaPXEnKnQa5wxZk1 vADVJPj8r90WmJDQ3WY1AULCFWFz59o+isEHZlDIEfPbPMWtbdtoN9SF7 w76/OCV1g7jnmL+; X-IronPort-AV: E=Sophos;i="4.57,296,1283695200"; d="scan'208";a="5469512" Original-Received: from exvic-htca02.nexus.csiro.au ([138.194.81.127]) by act-ironport-int.csiro.au with ESMTP/TLS/RC4-MD5; 07 Oct 2010 21:16:32 +1100 Original-Received: from exvic-mbx01.nexus.csiro.au ([138.194.81.121]) by exvic-htca02.nexus.csiro.au ([138.194.81.127]) with mapi; Thu, 7 Oct 2010 21:16:31 +1100 Thread-Topic: [NTG-context] calling ConTeXt as a background process Thread-Index: Actl/hqw1xnj6ncmQT2loLC1XslrvwACYKEI In-Reply-To: Accept-Language: en-US, en-AU Content-Language: en-AU X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-AU X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=150.229.7.37; country=AU; region=01; city=Canberra; latitude=-35.2833; longitude=149.2167; http://maps.google.com/maps?q=-35.2833,149.2167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06DfKgyCW - 528d5d930938 - 20101007 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:62422 Archived-At: Posted by Henning Hraban Ramm [hraban@fiee.net] > Am 2010-10-07 um 10:42 schrieb Taco Hoekwater: > > > On 10/07/10 09:34, Henning Hraban Ramm wrote: > >> mtxrun --script context "prd_paket --batchmode --once" > > > > When I run that last thing on the command line, I get: > > > > ! I can't find file `./prd_paket --batchmode --once'. > > <*> "./prd_paket --batchmode --once" > > > > Please type another input file name: > > Of course, prd_paket.tex is my input file. But that's there. > > > But it is hard to say whether that is the problem. If it was > > me, I would attach a gdb to the process to see where it is at > > from the backtrace (but you need a non-stripped build of > > the binary for that). > > I'd like to avoid compiling a debugging version of luatex... Hraban, Have you tried attaching to the stalled processes using strace (Linux) or dtruss (Mac)? This will tell you what system call is blocking, might give a clue. The defunct uname process in your original post suggests to me the parent did not calling wait() on the child (uname) and it exited. Best, Robin ___________________________________________________________________________________ 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 ___________________________________________________________________________________