Command line parameters

Dan Kegel dank at
Thu Jun 7 15:04:33 CDT 2012

John wrote:
> from what Hin-Tak said earlier, it sounds like Wine itself will translate any paths that I pass as a command line parameter (or did I misunderstand that?)

   wine notepad /home/dank/foo.txt
This fails because notepad treats / as the beginning of an
option (see ).

So, no, Wine doesn't translate arguments for you.

> FWIW the Windows app launches perfectly if I use execl() in the Linux app - and in fact, this has all worked perfectly for years.

That's great.  Do you actually pass filenames?
- Dan

More information about the wine-devel mailing list