| <<<Back 1 day (to 2021/12/01) | Fwd 1 day (to 2021/12/03) >>> | 20211202 |
artifexirc-bot | <Guest27> Hi, is it possible to capture the console output (windows) made by gswin64c? because when i use the standard > output.txt i only get the errors and not the messages like failed to downsampling or openjpg | 18:19.16 |
| <Robin_Watts> Guest27: Well, they go to stderr, not to stdout, and > captures stdout. | 18:26.53 |
| <Robin_Watts> Try: gswin64c.exe -o out.png -sDEVICE=png16m examples/tiger.eps > out.txt 2> err.txt | 18:28.01 |
| <Robin_Watts> Try: `gswin64c.exe -o out.png -sDEVICE=png16m examples/tiger.eps > out.txt 2> err.txt` | 18:28.07 |
| <Robin_Watts> Or if you want both stdout and stderr in the same file: | 18:28.41 |
| <Robin_Watts> `gswin64c.exe -o out.png -sDEVICE=png16m examples/tiger.eps > out.txt 2>&1` | 18:29.02 |
| <Guest27> wow thanks, my filtering batch works now ; i'd have never thought of capturing stderr | 18:41.14 |
| <Robin_Watts> np. | 18:56.09 |
| <<<Back 1 day (to 2021/12/01) | Forward 1 day (to 2021/12/03)>>> | |