msvcrt-A06: _popen + COMSPEC
Jaco Greeff
jaco at puxedo.org
Sun Nov 3 11:45:20 CST 2002
On Sun, 3 Nov 2002 11:02:02 -0500, "Dimitrie O. Paun" <dpaun at rogers.com> wrote :
> On November 3, 2002 10:38 am, Jaco Greeff wrote:
> > If COMSPEC
> > is not set, or not found on disk, _popen makes use of
> > c:\windows\system32\cmd.exe binary.
>
> Why not cmd.exe only, and hope to find it in the PATH?
> I think the PATH in Windows contains windows\system32
> in it by default.
I have tried this, CreateProcess doesn't find "cmd.exe" if we don't specify
the full path. (This happend in the test case with the neccessary changes
made to default to "cmd.exe"). But yes, it would be great.
Greetings,
Jaco
More information about the wine-devel
mailing list