Skip to content

Running executables as solutions fails #29

@vidarw

Description

@vidarw

Should it be possible to allow the workshopper to execute binaries and/or other scripts than node scripts? Trying to make a language independent course/workshop. Verification of binaries currently this fails in Windows.

C:\Projects\Git\getajob>learnyounode verify helloworld.exe

C:\Projects\Git\getajob\helloworld.exe:1
(function (exports, require, module, __filename, __dirname) { MZ?
                                                                ^
SyntaxError: Unexpected token ILLEGAL
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:902:3

Your submission results compared to the expected:

                 ACTUAL                                 EXPECTED
────────────────────────────────────────────────────────────────────────────────

   ""                                  !=    "HELLO WORLD"
                                       !=    ""

────────────────────────────────────────────────────────────────────────────────

? Submission results did not match expected!

# FAIL

Your solution to HELLO WORLD didn't pass. Try again!


C:\Projects\Git\getajob>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions