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 <[email protected]> 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 [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
