http://bugs.winehq.org/show_bug.cgi?id=1947
Summary: Illegal contents of environment variable TEMP passed to Linux application Product: Wine Version: 20031212 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: eetasoft@online.ee
If Windows application runs Linux program, WINE passes a Windows path to Linux application through TEMP environment variable.
This causes some applications, like Ghostscript, to fail.
To reproduce:
1. Create a file test.ps in home directory. 2. From an application running under WINE, invoke Linux command
/usr/bin/ps2pdf test.ps test.pdf
If you are using Visual FoxPro, this can be done using command
RUN /N /usr/bin/ps2pdf test.ps test.pdf
3. Observed result: test.pdf file is not created Cryptic message
**** unable to open the initial device, quitting
appears in WINE console
Note. Yes, this can be fixed using unset TEMP command. However, I expect that WINE will not pass TEMP variable in a such way.