X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cygwin%2Flily-wins.py;h=fe7fe3aa67741790490cbf3c4e7e4d5bd0d5bb4c;hb=f3ab13c8425308bfe9fe6a0e9e379ef7b3e1e46c;hp=06d22595e54c277e53bf101dac4f405bfe1f104b;hpb=e540311d3f5799216c91d203080f63b65cccde07;p=lilypond.git diff --git a/cygwin/lily-wins.py b/cygwin/lily-wins.py index 06d22595e5..fe7fe3aa67 100644 --- a/cygwin/lily-wins.py +++ b/cygwin/lily-wins.py @@ -113,18 +113,18 @@ script = '/usr/bin/lilypond' if os.path.exists ('/usr/bin/ly2dvi'): script = '/usr/bin/ly2dvi' -stat = system ('%s -p %s > %s.log 2>&1' % (script, escape_shell (base), +stat = system ('%s %s > %s.lylog 2>&1' % (script, escape_shell (base), escape_shell (stem))) if not os.path.exists (pdffile): # message box? sys.stderr.write ('PDF output not found. Error log: \n') - map (sys.stderr.write, open (stem + '.log').readlines ()[-20:]) - sys.stderr.write ('A full log is in the file %s.log\n' % stem) + map (sys.stderr.write, open (stem + '.lylog').readlines ()[-20:]) + sys.stderr.write ('A full log is in the file %s.lylog\n' % stem) sys.stderr.write ('\n\nPress enter to close window\n') sys.stdin.readline () else: - # run even if failed, to make sure that error + # run even if failed, to make sure that error is visible. system ('%s %s.pdf' % (escape_shell (pdfview), escape_shell (native_base)))