Code Monkey home page Code Monkey logo

msx-basic-tokenizer's Introduction

Motion graphic designer by occupation and software developer by intention.

farique1

 farique1

farique1

msx-basic-tokenizer's People

Contributors

farique1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

0cjs msxall

msx-basic-tokenizer's Issues

Path to openmsx command seems Mac-specific

Running openMSXbatoken.py on Linux, I get the following error (I've elided some of the path with ):

FileNotFoundError: [Errno 2] No such file or directory: '…/MSX-Basic-Tokenizer/openMSX.app/contents/macos/openmsx'

Looking at the code, I see that your command is hardcoded:

cmd = [openmsx_filepath + '/contents/macos/openmsx', '-control', 'stdio']

Doing a quick hack to just run openmsx and let it be found from the path:

cmd = ['openmsx', '-control', 'stdio']

I find that it now successfully runs openmsx. (On my system, where the Debian openmsx package is installed, this is in /usr/bin/openmsx, but if I wanted to run a more recent version of openMSX I'd probably build it myself and put the binary or a symlink in ~/.local/bin/openmsx, or perhaps ~/.local/bin/openmsx-0.14.0 or something like that if I were using several versions.)

I suggest that the code be changed so that the user specifies in the configuration a full path to the openmsx command (including the filename itself, not just a directory) and, if that's not given, just openmsx be used. This should make it work by default on many platforms, and remove the need for users to create what look like Mac-specific paths on non-Mac machines that then symlink (or do who-knows-what on Windows) to their actual openMSX binary.

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.