Giter Site home page Giter Site logo

Comments (6)

Bartvds avatar Bartvds commented on May 29, 2024

I'm not sure what is going on with the 5 clauses but I quick fixed my file by adding some quotes:

Changed three occurences of this:

if not exist %SLIMERJSLAUNCHER% (

Into this:

if not exist "%SLIMERJSLAUNCHER%" (

And now I see the window. After I close it I also the console.log() output from my javascript.

from slimerjs.

laurentj avatar laurentj commented on May 29, 2024

Thanks for your report. We should check if this fix is compatible in other windows version. (I'm not an expert in dos shell :) ))

from slimerjs.

Bartvds avatar Bartvds commented on May 29, 2024

Well, me neither, but I picked the idea for this fix from a few lines further along so I'm confident it's valid :)

https://github.com/laurentj/slimerjs/blob/master/src/slimerjs.bat#L96

Do you know on what Windows version this .bat was originally tested?

FYI; if you need a Windows VM there is this official repo: http://www.modern.ie/en-us/virtualization-tools

from slimerjs.

laurentj avatar laurentj commented on May 29, 2024

I tested with Windows 7 64bits, it works without modification and it seems to work with quotes.

Could you provide a patch containing all modifications?

from slimerjs.

Bartvds avatar Bartvds commented on May 29, 2024

Note I'm implementing a node.js wrapper and I am reaching the point where I'm adding options-passing support to it.

Once I have tests setup for those I can verify a bit more on the other .bat options and if they match with the linux and mac script, but this may take a bit longer.

from slimerjs.

laurentj avatar laurentj commented on May 29, 2024

Fixed by the pull request #63

from slimerjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.