How can I launch applications from 2 ttys on launch?

view story

http://unix.stackexchange.com – I've currently got 2 ttys logging in automatically, but I need to launch a node script from one and a C program from another as soon as the device loads. The device is a Raspberry Pi running Raspbian. It's set up to function like an appliance, these two programs will run for a few hours at a time before the device is turned off. I've successfully launched my programs via /etc/rc.local but it seems that this isn't the same as actually launching from tty, they are closed before the prompt loads. (HowTos)