[bitbake-devel] Where does the python print goes?

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jan 7 21:39:03 UTC 2013


On Fri, 2012-12-21 at 13:49 +0800, Biao wrote:
> Hi All,
> 
> 
> I have a task in a dum.bb file, after running the task with -vDDD, i
> can not find where the "I am the python output" goes, it is not in the
> terminal, not in the log file. Where does the sys.__stdout__.write
> output to?
> 
> 
> /*----code snap begins---*/
> python do_dm2 () {
>         import sys
>         sys.__stdout__.write("I am the python output\n")
> }
> addtask dm2
> /*----code snap ends---*/

Logfile in ${T} ?

Cheers,

Richard






More information about the bitbake-devel mailing list