bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Double clicking in Windows


From: Mats Bengtsson
Subject: Re: Double clicking in Windows
Date: Thu, 27 May 2004 19:12:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

At least it gives more clear information on what's up:

Processing C\Documents ...

The actual problem seems to be that the lilypond-2.2.0-1 package
on the cygwin mirrors contains two files:
/usr/bin/lily-wins.py
and
/usr/bin/lily-wins

whereof the first one corresponds to the lily-wins.py file that
Han-Wen was hacking whereas the latter contains

#!/bin/sh
python /bin/lily-wins.py $1

which effectively ruins all paths with spaces in them

By adding a couple of double quotes, things work much better:

#!/bin/sh
python /bin/lily-wins.py "$1"

I don't really understand why we have the shell script and
not only the Python script.

   /Mats



Han-Wen Nienhuys wrote:
address@hidden writes:

Since so many people have reported problems on double-clicking files
in Windows recently, I tried it myself using a recently installed
version 2.2.0-1 in Cygwin on a Windows XP professional.


I did some work on the lily-wins script in the 2.3 branch. Can you
check if it works better?


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]