CreateProcess design

Alexandre Julliard julliard at
Sun Mar 31 13:23:17 CST 2002

Eric Pouech <eric.pouech at> writes:

> what should we do. I think Alexandre long term option is to really get
> rid of the options on the command line and use the WINEOPTION(S) env
> var (we could still have a wrapper script to do the conversion)
> should we adopt this right away or clean up the command line option ?

The basic idea is to have two separate programs; a 'wine' that does
all the command-line processing, and a 'wineloader' that simply
executes a new process from CreateProcess. Then all the option
handling can be moved out of kernel and into that wine program.

Winelib apps will then need to do their own command-line handling, the
kernel will simply pass them the unmodified cmdline (though it should
still be possible to launch a Winelib app through the 'wine' program
to make it handle wine options).

> as a consequence, you no longer can use any CUI program in the
> user/graphical mode, including winedbg - it still work as a unix console
> though

I've added a quick hack to fix this for now.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list