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

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat Sep 7 17:15:11 CDT 2002


Hallo,

some java program in the Xilinx webpack suite is started as a batch file
from a perl script. When the batch should be executed, the perl script looks
for the $COMSPEC variable and starts the batch like:

Call kernel32.CreateProcessA(40c82e0c "c:\\command.com",40c8fee4\
"c:\\command.com /c I:\\xilinx\\bin\\nt\\ChipView.bat -f magcom.vm6"...

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",...

I there any way to use winelib-wcmd in this situation?

Bye

-- 
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