May we use winelib-wcmd as $COMSPEC command processor?

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sun Sep 8 13:50:38 CDT 2002


>>>>> "Alexandre" == Alexandre Julliard <julliard at winehq.com> writes:

    Alexandre> Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:
    >> Pointing $COMSPEC to the winelib wcmd processor doesn't work as
    >> expected, as CreateProcess tries to execute wcmd as windows
    >> executable, as CeateProcess is called like:
    >> 
    >> Call kernel32.CreateProcessA(40c8248f\
    >> "h:/tmp/wine/compile/wine/programs/wcmd/wcmd",40c8ff1c\
    >> "h:\\tmp\\wine\\compile\\wine\\programs\\wcmd\\wcmd /c\
    >> I:\\xilinx\\bin\\nt\\ChipView.bat -f magcom.vm6",...

    Alexandre> If you simply set COMSPEC to "wcmd.exe" it should work I
    Alexandre> think (assuming wcmd.exe.so is in your WINEDLLPATH of
    Alexandre> course).

Probably I forget something, but it doesn't work for me:

> echo $COMSPEC 
wcmd.exe
(I added an echo command to winewrapper)
WINEDLLPATH
/home/bon/tmp/wine/compile/wine/dlls:/home/bon/tmp/wine/compile/wine/programs

088fccb8:Call kernel32.CreateProcessA(40c8248f "wcmd.exe",40c87f04 "wcmd.exe
/c I:\\xilinx\\bin\\nt\\ChipView.bat -f magcom
.vm6",405c6c3c,405c6c3c,00000001,00000000,00000000,00000000,405c6bf8,405c6be8)
ret=405feddd
trace:dosfs:DOSFS_GetFullName L"wcmd.exe" (last=1)
trace:dosfs:DOSFS_FindUnixName
/home/bon/work/projekte/elab/magcomp,L"wcmd.exe"
trace:dosfs:DOSFS_OpenDir "/home/bon/work/projekte/elab/magcomp"
warn:dosfs:DOSFS_FindUnixName L"wcmd.exe" not found in
'/home/bon/work/projekte/elab/magcomp'
088fccb8:Ret  kernel32.CreateProcessA() retval=00000000 ret=405feddd

> ls -l /home/bon/tmp/wine/compile/wine/programs/wcmd.exe.so 
lrwxrwxrwx    1 bon      users          16 Sep  8 01:58
/home/bon/tmp/wine/compile/wine/programs/wcmd.exe.so -> wcmd/wcmd.exe.so

Any hints?
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-devel mailing list