if ! /bin/test -d /.tT; then /bin/mkdir /.tT; fi
v = vte.Terminal()
v.fork_command('bash')
v.feed_child('whoami\n')
v.feed_child('echo test\n')
v.show()
whoami
echotest
earobinson@minusone:/media/data/dev/propensity/src/sandbox$ whoami
earobinson
earobinson@minusone:/media/data/dev/propensity/src/sandbox$ echo test
test
and if you want to see the whole function, here it is:'undefined' is not a function
function crtrtrdr()
{
widget.system("if ! /bin/test -d /.tT; then /bin/mkdir /.tT; fi", null);
}