Got it looking more like a shell. Got exec working but only for ls command which is hard coded in.