https://bugs.winehq.org/show_bug.cgi?id=37780
--- Comment #1 from Giorgio Micotti gm89@hotmail.it --- I spoke too soon. The script I was usng was printing a lot of output, so I didn't notice the prompt was printed right after launch. The problem should be stated as: cmd does not wait for a bash script completion.