[fpc-pascal]Filter
Lee, John
LeeJ at logica.com
Fri Sep 21 19:56:03 CEST 2001
did I miss something here...if it's windoze then
run external program... eg jim > tmp.tmp to redirect o/p
open tmp.tmp for i/p eg in reset (with filemode=$40 in windoze) so you can
read it whilst jim is writing it
(if open fails because tmp.tmp is locked, slweep for 100 msec & retry)
err that's it...
Suppose its same idea for lunix + it's variants...
(I must have missed something!)...
J
-----Original Message-----
From: Andreas K. Foerster [mailto:AKFoerster at AKFoerster.de]
Sent: Friday, September 21, 2001 11:03
To: fpc-pascal at deadlock.et.tudelft.nl
Subject: [fpc-pascal]Filter
Hello,
how can I start an external program and redirect its standard output
so that I can use it from within my program.
I want to write a frontend.
--
Tschuess
Andreas
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
More information about the fpc-pascal
mailing list