diff options
Diffstat (limited to 'lib/compilers/pascal.js')
-rw-r--r-- | lib/compilers/pascal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/pascal.js b/lib/compilers/pascal.js index 5af3bf8ef..02e1a4ea5 100644 --- a/lib/compilers/pascal.js +++ b/lib/compilers/pascal.js @@ -150,7 +150,7 @@ class FPCCompiler extends BaseCompiler { } execBinary(executable, result, maxSize) { - executable = path.join(path.dirname(executable), "prog"); + executable = this.getExecutableFilename(path.dirname(executable)); return super.execBinary(executable, result, maxSize); } |