fails on Windows due to dependency on 'which'

Bug #911051 reported by Adi Roiban
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pocket-lint
Fix Released
Low
Adi Roiban

Bug Description

pocketlint tries to use 'which' for locating a JS interpreter.

On Windows there is no 'which' command.

Also, I am not sure if gjs or seed are available on Windows.

Rhino or SpiderMonkey can be used on Windows.

On Windows 2003 and above there is a where.exe command which is the equivalent of which.

Maybe a Python implementation of which would help:
http://nedbatchelder.com/code/utilities/wh_py.html

Please advise how would you like to proceed with this bug.

Thanks!
Adi

Related branches

Revision history for this message
Curtis Hovey (sinzui) wrote :

JS should be disabled in non posix environments Seed or gjs are required because they provide libraries to integrate the system to the application. Rhino or SpiderMonkey are not viable since they do not integrate with the systm. Ubuntu stopped trying to make them work without compromising the entire system.

Changed in pocket-lint:
status: New → Triaged
importance: Undecided → Low
Curtis Hovey (sinzui)
Changed in pocket-lint:
milestone: none → future
assignee: nobody → Adi Roiban (adiroiban)
status: Triaged → Fix Committed
Curtis Hovey (sinzui)
Changed in pocket-lint:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.