From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26992 invoked by alias); 17 Oct 2011 21:29:15 -0000 Received: (qmail 26979 invoked by uid 22791); 17 Oct 2011 21:29:14 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ey0-f177.google.com (HELO mail-ey0-f177.google.com) (209.85.215.177) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Oct 2011 21:29:01 +0000 Received: by eye3 with SMTP id 3so4090946eye.36 for ; Mon, 17 Oct 2011 14:28:59 -0700 (PDT) Received: by 10.223.5.3 with SMTP id 3mr26672693fat.4.1318886939558; Mon, 17 Oct 2011 14:28:59 -0700 (PDT) Received: from vostro ([178.127.28.53]) by mx.google.com with ESMTPS id l8sm25516269fai.16.2011.10.17.14.28.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Oct 2011 14:28:58 -0700 (PDT) Date: Mon, 17 Oct 2011 21:29:00 -0000 From: Sergei Gavrikov To: Simon Kallweit cc: eCos Developer List Subject: Re: Synth target spawning external processes In-Reply-To: <4E9C9032.40703@intefo.ch> Message-ID: References: <4E9C9032.40703@intefo.ch> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2011-10/txt/msg00006.txt.bz2 On Mon, 17 Oct 2011, Simon Kallweit wrote: > Hello > > I was wondering if anyone has written some Tcl/Tk code to spawn > external processes when running the synth target. We currently have a > few external processes to simulate a GPS receiver among other things. > These processes are currently started independent of ecossynth and > need to be up and running when starting the application. This works, > but it'd be nicer to automatically spawn these processes when the > application is started, especially when doing so from the debugger. I > think I'll wrap something up unless there is already a solution out > there which I can build upon. Hi Simon, If I understood you correctly that one (lazy) way is to use ecos target definition files (.tdf files). You can put Tcl code there (= what you need). My brief test was % cat >test.tdf< > Best regards, > Simon >