attempting to implement virtual shell. Having a hard time opening pipes