the shim process is managed here: https://github.com/project-flogo/cli/blob/master/api/shim.go