Improve process launcher. Minor bugfix