Skip to content

INFOCOM_PATH Variable Does Not Work on Windows #76

@jeffnyman

Description

@jeffnyman

Try something like this:

SET INFOCOM_PATH=C:\Users\Jeff\Downloads\zcode

Then call Viola with a story file that is in that path:

python viola.py zork1-r88-s840726.z3

This won't work. If you look at the paths variable that is getting established, it will be this:

['.', '"C', '\\Users\\Jeff\\Downloads\\zcode"']

I should also note that it Python's use of expandvars doesn't seem to work at all in PowerShell, if someone happens to be using that. Running that same command line in PowerShell shows the paths being:

['.', '$INFOCOM_PATH']

A small issue to be sure, but definitely a difference between how Viola works on Mac/Linux and Windows.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions