lilypond-devel
[Top][All Lists]
Advanced

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

Re: windows lilypond-book.py


From: Trevor Daniels
Subject: Re: windows lilypond-book.py
Date: Sat, 14 Jan 2012 10:50:03 -0000


Graham, you wrote Saturday, January 14, 2012 10:38 AM

ok, could you paste these 3 lines to the top of the main()
function, then run the result?  you'll need to CTRL-C when it gets
to step 2, but if this looks ok (please check log.txt) then we're
still good.

   cmd = "dir > log.txt"
   ret = os.system(cmd)
   print "0. return code: ", ret

No go.  This falls foul of the ant-hacking measures in Windows.
Program Files is a protected directory:

$ python test-subprocess.py
**** Begin testing
Access is denied.
0. return code:  1
Volume in drive C is ACER
Volume Serial Number is C012-6885
[directory contents]
13/01/2012  08:55            12,103 _weakref.dll
            183 File(s)     44,408,424 bytes
              2 Dir(s)  56,064,499,712 bytes free
1. return code:  0

Trevor





reply via email to

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