http://bugs.winehq.org/show_bug.cgi?id=3334
Summary: execute unix binary parameter problem Product: Wine Version: 20040813 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: wine-kernel AssignedTo: wine-bugs@winehq.org ReportedBy: jue@capaz.de
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