framebuffer: spawn a bash subprocess to test terminal capability

Signed-off-by: David Scott <dave.scott@eu.citrix.com>