http://bugs.winehq.org/show_bug.cgi?id=9394
Summary: Work folder on ShellExecute and CreateProcess Product: Wine Version: 0.9.33. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: trivial Priority: P2 Component: wine-shell32 AssignedTo: wine-bugs@winehq.org ReportedBy: vexorian@gmail.com
I used to make some windows app , I tried to make them work correctly on WINE, noticed gltiches and things that made me unable to use them.
They rely heavily on executing other programs, that's where the problem comes from, I as a winapi developer made some mistakes that didn't stop the apps from working correctly in winapi but affected them on WINE.
Specifically the work folder (current directory/directory) arguments in both ShellExecute and CreateProcess : - WINE and winapi support ".\" correctly. - WINE however does not support "." while winapi does. - Apparentally WINAPI accepts NULL and assumes it means ".\" but WINE does not.
After fixing the code in my apps to use ".\" there they began to work correctly, I figured this bug may affect some other applications so I am reporting it.
http://bugs.winehq.org/show_bug.cgi?id=9394
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-20 21:50:02 --- Could you upgrade to recent Wine version and retest? What you talking about should work fine.
http://bugs.winehq.org/show_bug.cgi?id=9394
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #2 from Damjan Jovanovic damjan.jov@gmail.com 2007-08-21 05:31:38 --- There was a bug where using CreateProcess from/to win16 code uses the wrong current directory if you pass NULL to CreateProcess, upgrade to the latest version of wine and it should work.
If "." still doesn't work, let us know.
http://bugs.winehq.org/show_bug.cgi?id=9394
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #3 from Dan Kegel dank@kegel.com 2007-08-21 08:03:03 --- If you are still having trouble, demo code would help.
http://bugs.winehq.org/show_bug.cgi?id=9394
--- Comment #4 from Vexorian vexorian@gmail.com 2007-08-26 13:59:08 --- I have tested in 0.9.44
"", NULL and "." all have normal behaviour
but "." works fine on winapi yet fails on WINE . In the previous version I tried, 0.9.33 this was working correctly.
I am not sure if I should report it as another bug and change the status of this bug to fixed
http://bugs.winehq.org/show_bug.cgi?id=9394
Zac Brown zac@zacbrown.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zac@zacbrown.org
--- Comment #5 from Zac Brown zac@zacbrown.org 2007-12-23 11:37:55 --- Did this ever end up being resolved?
If not, can the original reporter provide test code or a binary?
http://bugs.winehq.org/show_bug.cgi?id=9394
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #6 from Austin English austinenglish@gmail.com 2008-06-16 13:57:42 --- Abandoned, likely fixed.
http://bugs.winehq.org/show_bug.cgi?id=9394
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com 2008-06-16 13:59:52 --- Closing.