Skip to content

Commit

Permalink
cli: fix the run subcommand on Unix-based systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Wertzui123 committed Jul 10, 2024
1 parent a852f6c commit 6dc9126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/main.aspl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ if(subcommand == "compile" || subcommand == "build"){
if(Options:targetOs == "windows"){
outputFile += ".exe"
}
outputFile = io.abs(outputFile)
outputFile = io.join_path([os.getwd(), outputFile])
aspl.compiler.compile(os.args()[i])
print(os.execute(outputFile).output, false)
io.delete_file(outputFile)
Expand Down

0 comments on commit 6dc9126

Please sign in to comment.