add 'standard input' argument to runProcessWithOutputCallback
improve haddock a little