On 2010-03-09, at 11:04 AM, Lasse Kliemann wrote:
We can create a process port with open-process. We can read from the port what the process writes to its standard output. If we use option stderr-redirection, then we read process' standard output as well as its standard error.
Is there a way to obtain these two separately? E.g., when we want to capture standard output but send standard error to /dev/null?
Thank you!
That's not possible currently. You can achieve the same thing, with Unix, using:
(open-process (list path: "sh" arguments: (list "-c" "program 2> /dev/null")))
Marc