[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Log everything from execWithRedirect or execWithCapture to a file.





Alexander Todorov wrote:
Hans de Goede wrote:
Hi,

You are changing the behavior of execWithCapture, you are now also
capturing the stderr output!

Capturing stderr is useful for debugging.


Erm, execWithCapture is like bash's $() or ``, so it returns a string which contains the output of the command, we do not want stderr output in the result here!

Logging it is fine, returning it as result of execWithCapture is not.

Regards,

Hans


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]