Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
-
windows 7 64bit
cmd
-
fe3b07884cf2a9c02a5dc3a8fc7aebcd42a5ee91
Description
The lupdate program redirects all output to standarderror(stderr) instead of only errors
eks ( 2>NUL redirects stderr to null )
lupdate -version gives "lupdate version 4.7.0"
lupdate -version 2>NUL gives no output, meaning version info is redirected to stderr
lrelease -version 2>NUL gives "lrelease version 4.7.0" meaing version info is sent to stdout
full example:
command: lupdate xmlfiles.pro
raw output:
C:/Qt/4.7.0/mkspecs/features/debug_and_release.prf(66):Function 'eval' is not implemented
Updating 'XmlFiles_da.ts'...
Found 1020 source text(s) (0 new and 1020 already existing)
output with standard output piped into null:
C:/Qt/4.7.0/mkspecs/features/debug_and_release.prf(66):Function 'eval' is not implemented
Updating 'XmlFiles_da.ts'...
Found 1020 source text(s) (0 new and 1020 already existing)
output with standard error piped into null:
(nothing!)
expected output when piping standard error to null:
Updating 'XmlFiles_da.ts'...
Found 1020 source text(s) (0 new and 1020 already existing)