[fpc-pascal] Data exchange between programs

Michael Van Canneyt michael at freepascal.org
Wed Sep 6 09:32:26 CEST 2006



On Wed, 6 Sep 2006, Carsten Bager wrote:

> I have 2 FPC programs running on a Linux machine, is there an easy
> way to exchange a few data between these programs (I do not want to
> use disk operations). I was thinking of using environment variables,
> but I cannot find a way to change environment variables from a
> program.
> Does anybody have a hint?

I think you'd better use shared memory or pipes or so.
If the communication is one-way, have a look at the simpleipc units.

Michael.



More information about the fpc-pascal mailing list