IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
FLAC logging
tonderai
post Jun 16 2002, 20:34
Post #1





Group: Members
Posts: 89
Joined: 5-April 02
Member No.: 1692



Can flac.exe write a log of displayed messages (to record version no., compression ratio, commandline, verify (-V) status etc., for archiving)? Also, how does it behave when (or if) -V returns 'not ok' (i.e. does it beep, pause, quit or what)?

cheers, tonderai.
Go to the top of the page
+Quote Post
jcoalson
post Jun 17 2002, 06:08
Post #2


FLAC Developer


Group: Developer
Posts: 1526
Joined: 27-February 02
Member No.: 1408



QUOTE
Originally posted by tonderai
Can flac.exe write a log of displayed messages (to record version no., compression ratio, commandline,  verify (-V) status etc., for archiving)?


no, in unix or win32+cygwin you can just redirect stderr. not sure how to do it in a DOS box.

QUOTE
Originally posted by tonderai
Also, how does it behave when (or if) -V returns 'not ok' (i.e. does it beep, pause, quit or what)? 


it will print an error and the exit code will be non-zero.

Josh
Go to the top of the page
+Quote Post
Ardax
post Jun 17 2002, 14:54
Post #3





Group: Members
Posts: 233
Joined: 3-December 01
Member No.: 578



From win32 command prompt (2k & XP, you're stuck on 95-ME, I believe), you can use 2> instead of just > to redirect stderr to file. I'm not sure how to redirect stderr to stdout though, but at least you can do something like: "flac --help 2> header.txt > flachelp.txt" to capture everything to file.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th April 2014 - 15:01