> How would mock go about capturing output sent directly to /dev/tty? 

forkpty from <pty.h> is handy.  In pythonland there is probably some other
simple canonical way to run a child in a pty.

> Could we get away with hard/sym-linking it to /dev/stderr?  Does this 
> have the potential to break other things?

Your kneecaps, fella, just try it.

-- 
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Reply via email to