Calling a winelib program (wcmd) from inside wine with arguments
Hallo, how do I call a winelib programm with arguments from inside wine. I tried several appoaches in a first hack for Batch file support in wine, but I didn't succeed. It seemed that either the winelib programm insisted on the "--" divider or it tried to interpret it. Thanks -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Uwe Bonnes <bon(a)elektron.ikp.physik.tu-darmstadt.de> writes:
how do I call a winelib programm with arguments from inside wine. I tried several appoaches in a first hack for Batch file support in wine, but I didn't succeed. It seemed that either the winelib programm insisted on the "--" divider or it tried to interpret it.
You must not add "--" when starting it inside Wine. Just build a normal command line and pass it to CreateProcess. -- Alexandre Julliard julliard(a)winehq.com
participants (2)
-
Alexandre Julliard -
Uwe Bonnes