[Q] CreateProcess for Batch files

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Jul 22 15:19:36 CDT 2002


Hallo,

the Xilix Webpack Flow in one case tries to create a process with a batch
file as argument:
09846d58:Call kernel32.CreateProcessA(00000000,403efee8 "ChipView.bat -f
adcswitch.ngd -uc adcswitch.ucf -dev XC2C256-7-TQ144",00000000,00000000,00000001,00000000,00000000,00000000,405e6444,405e6434) ret=40605429
09846d58:Ret  kernel32.CreateProcessA() retval=00000000 ret=406054290

What is a good way to implement batch handling in wine? Start wcmd and hand
itthe batch file name and arguments? Expand and handle it in
scheduler/process.c?

Comments welcome!

Btw: This Chipview batch file only expands environment variables, sets
library pathes and calls java. I tried to use the native linux jre, but the
programm put up a message that it couldn't read some file, which is obvious
there.

%XILINX%\java\nt\jre1.2.2\bin\java -mx64m -ss4M -classpath ".;%XILINX%\chipviewer\lib\ChipViewer.jar;%XILINX%\chipviewer\lib\jaxp.jar;%XILINX%\chipviewer\lib\parser.jar;%XILINX%\java\nt\jre1.2.2\lib\rt.jar"com.xilinx.chipviewer.pgms.main.ChipViewer -XILINX %XILINX% %1 %2 %3 %4 %5 %6

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