[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SLopUF: Sumatra and issue 635 (pdf locking)
From: |
Gilles THIBAULT |
Subject: |
Re: SLopUF: Sumatra and issue 635 (pdf locking) |
Date: |
Sun, 24 Aug 2008 11:15:08 +0200 |
LilyPondTool's PDF viewer solves this problem by automatically closing
the file when compiling.
In Windows, you can also use taskkill.exe to close the pdf before the
compilation
http://commandwindows.com/taskkill.htm
Here is the little script (lily.bat ) i use to run lilypond.
%%%%%%%%%%%%%%%%%%%%%
@echo off
cd /D "%~dp1"
taskkill /FI "WINDOWTITLE eq %~n1.pdf*" > null
cls
echo.
echo --------------------------------
echo.
lilypond "%~nx1"
if exist "%~n1.pdf" start "" "%~n1.pdf"
echo.
echo -------------------------------
echo.
pause >nul
%%%%%%%%%%%%%%%%%%%%%%%%%%%
I think something equivalent can be made in linux.
Gilles