i resolve problem, thanks to <span id="result_box" class="short_text" lang="en"><span class="hps">everyone.</span></span><br><br><div class="gmail_quote">On Sun, Oct 16, 2011 at 8:40 PM, Celâl Emre ÖZ <span dir="ltr"><<a href="mailto:emre.ozz@gmail.com">emre.ozz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Ok. I've tried Python.Options := [poNoConsole, poUsePipes,poStderrToOutPut]; and it's run <span lang="en"><span>successful but only problem </span></span><span lang="en"><span>continuous</span> <span></span></span><span lang="en"><span>loop and it can't response to users. I've tried </span></span><span>Application.ProcessMessages; but don't resolve. </span><br>
<span lang="en"><span></span></span><br><br><div class="gmail_quote"><div class="im">2011/10/16 Michael Van Canneyt <span dir="ltr"><<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>></span><br>
</div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
<br>
On Sun, 16 Oct 2011, Celâl Emre ÖZ wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
if I use the poUsePipes, python starts, but does not write anything on the screen. the program must write a report<br>
</blockquote>
<br></div>
You must use pipes, otherwise you cannot catch the output.<br>
The<br>
Python.Options := [poUsePipes];<br>
combined with my suggestions should write something to screen.<br><font color="#888888">
<br>
Michael.</font><div><div></div><div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Screen 1 with pipe : <a href="http://b1110.hizliresim.com/11/10/16/16687.jpg" target="_blank">http://b1110.hizliresim.com/<u></u>11/10/16/16687.jpg</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({'rating':{'value':-1,'weight':-1},'flags':{},'single':false,'ttl':7200,'expireTime':'20111016221150'}, self.className)},600);" class="wrc0" style="padding-right: 16px; width: 16px; height: 16px;"></span><span style="padding-right:16px;width:16px;min-height:16px"></span><br>
Screen 2 with out pipe : <a href="http://b1110.hizliresim.com/11/10/16/16718.jpg" target="_blank">http://b1110.hizliresim.com/<u></u>11/10/16/16718.jpg</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({'rating':{'value':-1,'weight':-1},'flags':{},'single':false,'ttl':7200,'expireTime':'20111016221150'}, self.className)},600);" class="wrc0" style="padding-right: 16px; width: 16px; height: 16px;"></span><span style="padding-right:16px;width:16px;min-height:16px"></span><br>
<br>
2011/10/16 <<a href="mailto:michael.vancanneyt@wisa.be" target="_blank">michael.vancanneyt@wisa.be</a>><br>
<br>
<br>
On Sun, 16 Oct 2011, Andrew Haines wrote:<br>
<br>
On 10/16/11 12:50, Celâl Emre ÖZ wrote:<br>
<br>
I've tried it but fpc has failed *Project project1.exe raised<br>
exception class external:SIGSEGV *<br>
<br>
<br>
Have you enabled pipes? I didn't see it anywhere.<br>
<br>
Python.Options := [poUsePipes];<br>
Python.Execute;<br>
<br>
<br>
Good point.<br>
<br>
Michael.<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({'rating':{'value':95,'weight':10},'flags':{},'single':true,'ttl':7200,'expireTime':'20111015221238'}, self.className)},600);" class="wrc11" style="padding-right: 16px; width: 16px; height: 16px;"></span><span style="padding-right:16px;width:16px;min-height:16px"></span><br>
<br>
<br>
<br>
</blockquote>
</div></div><br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({'rating':{'value':95,'weight':10},'flags':{},'single':true,'ttl':7200,'expireTime':'20111015221238'}, self.className)},600);" class="wrc11" style="padding-right: 16px; width: 16px; height: 16px;"></span><span style="padding-right:16px;width:16px;min-height:16px"></span><br>
<br></blockquote></div></div></div><br>
</blockquote></div><br>