#!/bin/bash WINEDEBUG=-all wine "$1" > output.txt 2>&1 cat output.txt chmod +x run_exe.sh