From da518edd0c3609f321887acc58c5d91fa50d9b24 Mon Sep 17 00:00:00 2001 From: Luthaf Date: Sat, 31 May 2014 18:29:00 +0100 Subject: [PATCH] Use the environ PATH to find pdflatex. Fix #40 --- songbook_core/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 songbook_core/build.py diff --git a/songbook_core/build.py b/songbook_core/build.py old mode 100644 new mode 100755 index 9adaa79d..4bc399b2 --- a/songbook_core/build.py +++ b/songbook_core/build.py @@ -250,7 +250,8 @@ class SongbookBuilder(object): ["pdflatex"] + self._pdflatex_options + [self.basename], stdin=PIPE, stdout=PIPE, - stderr=PIPE) + stderr=PIPE, + env=os.environ) if not self.interactive: process.stdin.close() log = ''