[Lazarus] Tprocess to communicate with applications running
Michael Van Canneyt
michael at freepascal.org
Sun Oct 16 19:15:19 CEST 2011
On Sun, 16 Oct 2011, Celâl Emre ÖZ wrote:
> if I use the poUsePipes, python starts, but does not write anything on the screen. the program must write a report
You must use pipes, otherwise you cannot catch the output.
The
Python.Options := [poUsePipes];
combined with my suggestions should write something to screen.
Michael.
>
>
> Screen 1 with pipe : http://b1110.hizliresim.com/11/10/16/16687.jpg
> Screen 2 with out pipe : http://b1110.hizliresim.com/11/10/16/16718.jpg
>
> 2011/10/16 <michael.vancanneyt at wisa.be>
>
>
> On Sun, 16 Oct 2011, Andrew Haines wrote:
>
> On 10/16/11 12:50, Celâl Emre ÖZ wrote:
>
> I've tried it but fpc has failed *Project project1.exe raised
> exception class external:SIGSEGV *
>
>
> Have you enabled pipes? I didn't see it anywhere.
>
> Python.Options := [poUsePipes];
> Python.Execute;
>
>
> Good point.
>
> Michael.
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>
>
More information about the Lazarus
mailing list