[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: pcb -> shell command
> i was wondering though if it is possible to use PCB to directly
> invoke external shell comands, without using them to read or write
> stuff. basicly what i want is to invoke 'make' from PCB, and
> subsequentally reading in some files. i didn't find anything about
> this in my first read of the PCB doc.
It doesn't at the moment, but it would be trivial to add. Why not try
to add it yourself? The source file you're interested in is
src/action.c, there's a table at the bottom of actions defined in that
file. Add one for "System()" or "Shell()", copy one of the smaller
existing actions, and edit as needed.
ActionMessage() is probably a good function to copy from.
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user