[Top][All Lists]
[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:35:55 -0000 |
Trevor Daniels wrote Saturday, January 14, 2012 10:31 AM
Graham, you wrote Saturday, January 14, 2012 9:43 AM
Excellent, we're in business. Please put the attached file in
the same directory as lilypond-book, then run
test-subprocess.py
I expect 1 and 2 to work. If 3 works, we're golden. If 4
succeeds then something weirder than I think is happening.
Well, 1 works fine, printing out the directory and return code 0
but 2 just hangs in the wait(), so nothing is printed. I have to
CTRL-C to recover the terminal.
Here's the last few lines:
13/01/2012 08:55 33,213 _testcapi.dll
13/01/2012 08:55 12,103 _weakref.dll
183 File(s) 44,408,336 bytes
2 Dir(s) 56,064,487,424 bytes free
1. return code: 0
[ctrl-c here]
address@hidden /c/program files/lilypond/usr/bin
$
Trevor
Further to this, if I delete the wait() before the print "2 ..." then
2 and 3 work fine, with ret code 0. 4 fails in threading as
expected. Here's the output in this case:
13/01/2012 08:55 33,213 _testcapi.dll
13/01/2012 08:55 12,103 _weakref.dll
183 File(s) 44,408,313 bytes
2 Dir(s) 56,063,664,128 bytes free
1. return code: 0
2. return code: 0
3. return code: 0
Traceback (most recent call last):
File "test-subprocess.py", line 57, in ?
main ()
File "test-subprocess.py", line 51, in main
ans = proc.communicate()
File "/usr/lib/python2.4/subprocess.py", line 773, in communicate
File "/usr/lib/python2.4/threading.py", line 418, in start
IOError: (0, 'Error')
Trevor
- Re: windows lilypond-book.py, (continued)
- Re: windows lilypond-book.py, Trevor Daniels, 2012/01/14
- Re: windows lilypond-book.py, Graham Percival, 2012/01/14
- Re: windows lilypond-book.py, Trevor Daniels, 2012/01/14
- Re: windows lilypond-book.py, Graham Percival, 2012/01/14
- Re: windows lilypond-book.py, Trevor Daniels, 2012/01/14
- Re: windows lilypond-book.py, Graham Percival, 2012/01/14
- Re: windows lilypond-book.py, Trevor Daniels, 2012/01/14
- Re: windows lilypond-book.py, Michael Welsh Duggan, 2012/01/14
Re: windows lilypond-book.py, Graham Percival, 2012/01/14
Re: windows lilypond-book.py,
Trevor Daniels <=
Re: windows lilypond-book.py, Trevor Daniels, 2012/01/14