Should be to call into some Process helpers we have in Kudu to simplify this. Look at Executable.cs,