Comment 13 for bug 603485

Revision history for this message
Anthony Stewart (madnessred) wrote :

1) Wine 1.3.0
2) Yes
3) I have been using the run-in-window mode already, that how I got the terminal readout.
Here is the cardapio.log output: http://paste.ubuntu.com/486478/

Sorry for the delay in responding. Hope this helps.

Also an update, in Python this runs fine:
subprocess.Popen('env WINEPREFIX="/home/anthony/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/anthony/.wine/dosdevices/c:/users/anthony/Start\\ Menu/Programs/Spotify.lnk', shell = True, cwd = '/home/anthony')

However, with Alt+F2, this gives the File Not Found error.
env WINEPREFIX="/home/anthony/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/anthony/.wine/dosdevices/c:/users/anthony/Start\\ Menu/Programs/Spotify.lnk

The only things which could make a difference, as far as I can see are the shell = True or cwd = '/home/anthony'
If I change either of them, set shell to False, or cwd to '/' Then I get a file missing error in the terminal, not in a dialogue like I get from Cardapio or Alt + F2.

>>> subprocess.Popen('env WINEPREFIX="/home/anthony/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/anthony/.wine/dosdevices/c:/users/anthony/Start\\ Menu/Programs/Spotify.lnk', shell = False, cwd = '/home/anthony')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
>>> subprocess.Popen('env WINEPREFIX="/home/anthony/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/anthony/.wine/dosdevices/c:/users/anthony/Start\\ Menu/Programs/Spotify.lnk', shell = False, cwd = '/')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Hope this helps.
MadnessRed