Eric Pouech eric.pouech@orange.fr writes:
The following series implements a new scheme for managing 'bare' consoles. We now force every program started without a wine parent to be run under wineconsole (transparently for the user). This is done using a new backend in wineconsole called 'line'. This backend only takes care of input; output is kept as a client side operation. All terminal related code is moved from dlls/kernel32 to programs/wineconsole.
This basically ensures that:
- Only wineconsole reads from standard input (and writes into input queue). This fixes bug reported by Jason when $CONIN is opened with read access only.
- It also enforces that wineconsole always has control of the unix terminal, hence ensuring that we properly reset the terminal settings upon exit.
Running make test with this series hangs in the hlink.c test, there seems to be a wineconsole process that never terminates.
Running make test with this series hangs in the hlink.c test, there
seems to be a wineconsole process that never terminates. that's because rpcss is started from the hlink test, and is still a child of wineconsole (now) after the test terminated and wineconsole always waits for all its children to terminate before terminating
rpcss should be created detached from current console I'll send a patch later on (and will also check that other services related program are correctly started)
A+