add outputHandler parameter to executeCommandLine