fix(controller): allow users to override `cmd` process types

fixes #2668 
fixes #2665