Page 1 of 1

Process in Win32

Posted: Sat Jan 07, 2006 10:06 pm
by pjot
Hi Lutz,

As of 8.7.5 there is new functionality in the 'process' statement: the stderr is redirected by default to stdout.

This creates a problem when communicating by 2-way pipes. It means that errors caused by the child process disturb the regular communication. My GTK-server does not show the GTK GUI anymore, when GTK errors happen disturbing the channel.

For Linux/Unix I can redirect stderr to a 3rd pipe. However, according to the docs this is not possible for Win32.

It means it would break all compatibility in situations where newLisp wants to communicate with a child process, and this child process generates errors.

For the GTK-server this can be solved by importing the DLL version now. But for other situations I guess there is a problem.

Is there a way to implement this 3rd pipe for stdout also for Win32?

Peter

Posted: Sun Jan 08, 2006 6:02 am
by Lutz
For Win32 the treatment of standard error has never changed, it always was redirected to stdout.

The additional option to redirect std-error to a differemt channel was only added to Linux/Unix.

Lutz

Posted: Sun Jan 08, 2006 2:39 pm
by pjot
Ok thanks!

Peter