switch to @quintesse's solution for #172 createProcess()