This commit is contained in:
Hans Dembinski
2018-09-16 01:20:39 +02:00
parent ff74b3b6e1
commit 8a4f7220cd

View File

@@ -14,8 +14,7 @@ if not os.path.isabs(args[0]):
args[0] = os.path.abspath(args[0])
# add missing extension on windows
t = os.path.join(os.getcwd(), "Debug", args[0] + ".exe")
sys.stdout.write("\n".join(os.listdir(os.getcwd()))+"\n")
t = os.getcwd() + "/Debug/" + args[0] + ".exe"
sys.stdout.write("input file: " + t + "\n")
if os.path.exists(t):
args[0] = t