Permalink
Browse files

Pipe stderr to stdout to correct odd command behavior.

  • Loading branch information...
1 parent de25739 commit 29beea4372d92b9ce0fc1fccc383c1eae1a4300c @infininight infininight committed Dec 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Commands/Engrave and View.tmCommand
@@ -14,7 +14,7 @@ html_header 'Engrave & View' "$TM_FILENAME"
echo '<h2>Engraving…</h2>'
cd "$TM_DIRECTORY"
-"${TM_LILYPOND:=lilypond}" "$TM_FILENAME" | pre
+"${TM_LILYPOND:=lilypond}" "$TM_FILENAME" 2>&1 | pre
if [[ -f "${TM_FILEPATH%.*}.pdf" ]];
then echo "Opening PDF…"; open "${TM_FILEPATH%.*}.pdf"

0 comments on commit 29beea4

Please sign in to comment.