[Lazarus] Tprocess to communicate with applications running
Celâl Emre ÖZ
emre.ozz at gmail.com
Sun Oct 16 21:33:36 CEST 2011
i resolve problem, thanks to everyone.
On Sun, Oct 16, 2011 at 8:40 PM, Celâl Emre ÖZ <emre.ozz at gmail.com> wrote:
> 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/0c5a3f03/attachment-0003.html>
More information about the Lazarus
mailing list