Uups, jetzt habe ich falsches gepostet. Ich habe nicht
ausgeführt, sondern
Code: Alles auswählen
screen wine myConsolenApp.exe < /dev/tty8 > winelog.txt
.
Die Fehlermeldung
Must be connected to a terminal wird von screen verursacht, wie ich nun festgestellt habe. Führe ich effektiv
wine myConsolenApp.exe < /dev/tty8 > winelog.txt (eben in dem Skript, das von crontab aufgerufen wird) aus, dann kommt folgende Meldung:
Code: Alles auswählen
Warning:
The Wine launcher is unable to find the xmessage program,
which it needs to properly notify you of Wine execution status
or problems.
This launcher script relies heavily on finding this tool,
and without it, it will behave very poorly.
We strongly recommend that you use your distribution's
software methods to locate xmessage, or alternatively
use your favourite internet search engine to find out
how you are supposed to install xmessage on your system.
Invoking /usr/lib/wine/wine.binmyConsolenApp.exe ...
Error opening terminal: unknown.
xmessage ist aber verfügbar; aber ich habe natürlich keinen X-Server. Da ich aber eine Konsolen-Applikation ausführen will, sollte das ja auch nicht nötig sein.
Deshalb habe ich nun mal an Stelle von
wine wineconsole probiert; Resultat: alles genau gleich.