Move platform agnostic process spawning to a require
Don't export private functions