[lldb-dev] Save old stdou/stderr when starting a python session

Johnny Chen johnny.chen at apple.com
Tue Feb 28 17:57:35 PST 2012


Thanks, Filipe!
Checked in r151693.

On Feb 28, 2012, at 7:13 AM, Filipe Cabecinhas wrote:

> Hi, 
> 
> Attached is a small python fix to save the current stout and std err when starting a python session, then diverting then (as it was before), and restoring the previous values afterwards. Otherwise, a python script could suddenly find itself without output.
> 
> Regards, 
> 
>  Filipe
> 
> <save-old-stdout-stderr.patch>_______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list