From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10677 invoked by alias); 17 Oct 2011 20:29:57 -0000 Received: (qmail 10668 invoked by uid 22791); 17 Oct 2011 20:29:56 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from inthemill.ch (HELO mail.inthemill.ch) (178.63.89.201) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Oct 2011 20:29:41 +0000 Received: from freakmbpnew.local (148-44-239-77-pool.cable.fcom.ch [77.239.44.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: simon@weirdsoft.ch) by mail.inthemill.ch (Postfix) with ESMTPSA id 634AC4A408C for ; Mon, 17 Oct 2011 22:29:38 +0200 (CEST) Message-ID: <4E9C9032.40703@intefo.ch> Date: Mon, 17 Oct 2011 20:29:00 -0000 From: Simon Kallweit User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: eCos Developer List Subject: Synth target spawning external processes Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00005.txt.bz2 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. Best regards, Simon