[Bug 3334] execute unix binary parameter problem

Wine Bugs wine-bugs at winehq.org
Thu Sep 15 03:56:19 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3334





------- Additional Comments From jue at capaz.de  2005-15-09 03:56 -------
I just realized that our packing mechanism from Win32 (LHA.EXE) doesn't work
with wine. No problem: I can execute the native Linux LHA-Binary. That
is working on principle but I have a problem to give the parameters with
wildcards to the lha - binary.
I wrote a test environment to check where the mistake comes from and
realized that Windows-Programs have a different way to find wildcard-files
in a directory than Linux programs. If I execute a Linuxbinary from shell I
get a list of all matched files as separate parameters. But if I execute the
Linuxbinary from Wine I get just the wildchard (i.e. "*"). So far so good. I
took a look to the function fork_and_exec in process.c in the kernellibrary
of wine. I'm not sure but I think we have to call the glob() function to get
the wildcards to file-parameters. What do you think? If I'm right please
send me a email - I can try to fix it and send you a patch. But I'm not
familar with opensource rules. I think you need just the new process.c -
file?

Thanks! Jürgen

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list