[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(re?)directing compile output to a file

From: David Currie
Subject: (re?)directing compile output to a file
Date: Mon, 9 Aug 2010 11:24:01 +0000 (UTC)
User-agent: Loom/3.14 (

I am a musician and a programmer.

How does one redirect/direct (lilypond) compile output to a file and not stdout
using command line options(or otherwise).

One can double click 
It produces filename.log (which nicely contains errors etc).

BUT when (inside a c++ program)

 int result = spawnlp(P_WAIT,"lilypond","lilypond","",NULL);
 It merely puts all output to a dos command prompt.
 Naturally it is so fast it cant be seen.
 Even upon failure (result == 1) there is no way to see errors

Incidently spawnlp(P_WAIT,"lilypond","lilypond",
  fails because it cant find "c:\\someDirNotCurrent\\"
  this is not logical or if there is a workaround please advise

I use Windows 2000 professional. (forgive me) (Help please)

Thanks for any response, 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]