[Lazarus] Tprocess to communicate with applications running
Celâl Emre ÖZ
emre.ozz at gmail.com
Sun Oct 16 19:40:27 CEST 2011
Ok. I've tried Python.Options := [poNoConsole,
poUsePipes,poStderrToOutPut]; and it's run successful but only problem
continuous loop and it can't response to users. I've tried
Application.ProcessMessages;
but don't resolve.
2011/10/16 Michael Van Canneyt <michael at freepascal.org>
>
>
> 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<http://b1110.hizliresim.com/11/10/16/16687.jpg>
>> Screen 2 with out pipe : http://b1110.hizliresim.com/**11/10/16/16718.jpg<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<Lazarus at lists.lazarus.freepascal.org>
>> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
>>
>>
>>
>>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111016/f5f6ea87/attachment-0003.html>
More information about the Lazarus
mailing list