Command line parameters
dank at kegel.com
Thu Jun 7 15:04:33 CDT 2012
> 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 http://source.winehq.org/source/programs/notepad/main.c#L616 ).
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?
More information about the wine-devel