Change child process spwaning to use the pexpect

Paired by Michael and Richard.
Pexpect allows use to expect an output within a time, this was perfect
for ensuring that the pyramid had starting serving withint 10 seconds.