platform agnostic process spawn