Where does the python print goes?
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---*/
Best Regards,
Biao
Quoted 9 lines · Biao
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?
Quoted 7 lines
/*----code snap begins---*/
pythondo_dm2() {
import sys
sys.__stdout__.write("I am the python output\n")
}
addtask dm2
/*----code snap ends---*/
Logfile in ${T} ?
Cheers,
Richard
Quoted 18 lines · At 2013-01-08 05:39:03,"Richard Purdie" <[email protected]>…
Quoted 9 lines · Biao
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?
Quoted 7 lines
/*----code snap begins---*/
pythondo_dm2() {
import sys
sys.__stdout__.write("I am the python output\n")
}
addtask dm2
/*----code snap ends---*/
Quoted 1 line
Logfile in ${T} ?
Thanks for your reply.
I tried to grep it in the whole tmp directory, it is not in any log file.
Quoted 6 lines
Cheers,
Richard