My Windows' app, when run under Wine (wine-9.0 (Ubuntu 9.0~repack-4build3)) is unable to write anything to the CMD console, in order to see the output I have to redirect it to a file and then open that file. Let's take as an example the following simple call to the Windows API: Exec (cmd /k python --version) It opens an empty console; however, Exec (cmd /k python --version >out) correctly writes "Python 3.12.3" to the file "out". I have found no way to directly write to console. What is needed?
Note. I wish to use the python interpreter existing in the Linux installation, not a version loaded in the wine environment, thus python -in the example above- is a symbolic link to /usr/bin/python3.
cmdto start unix commands that are behind symlinks,can't recognize '/usr/bin/python --version' as an internal or external command, or batch script.% wine cmd /k echo hellofrom a terminal window then I gethellooutput on that terminal (and I'm left in the CMD shell).