X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Mon, 2 Sep 2019 17:54:03 +0200 (CEST) From: Roland Lutz To: "Majenko Technologies (matt AT majenko DOT co DOT uk) [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] gschem interaction from external processes In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I just pushed what I've implemented so far. (Sorry, I should make a habit of pushing more often.) The relevant code is in gschem/src/x_controlfd.c: > Remote-control gschem via a file descriptor. > > This feature allows project managers like Igor2's "genxproj" to issue > certain actions in gschem. It is implemented as a plain text protocol > and can be enabled via the command-line options `--control-fd=stdin' or > `--control-fd=FD'. > > The following commands are currently supported: > > visit FILE > save FILE > save-all > revert FILE > close FILE > patch-filename FILE PATCHFILE > import-patch FILE [PATCHFILE] > quit > > File paths must be absolute, except for patch filenames which are > resolved relative to the main file. Arguments are separated by > spaces; spaces and backslashes inside arguments must be escaped > with a backslash. Does this provide what you need for your project management system?