Better way to run a native process