Switch to using gexec for external process handling.
Switch to using gexec for external process handling.

Also tidy up test setup a little.

johanbrandhorst/protobuf,johanbrandhorst/protobuf,johanbrandhorst/protobuf