Comment 3 for bug 1714278

Revision history for this message
Patrick Storz (ede123) wrote :

From some preliminary tests this seems to be a flushing issue:
- Even the simple "printf("Inkscape %s\n", Inkscape::version_string)"
  in "sp_process_args()" does not output anything
  (it should output the version string)
- Forcing flushing of stdout via "fflush(stdout);"
  makes the output appear even won Windows 7
- Similarly using stream output via "std::cout" produces
  output on the command line
  (probably it's doing some flushing internally)

However I did not find the source of the issue yet:
- A simple sample program outputs flawlessly
- I even ran that sample program through the .com command line
  wrapper we need to redirect output of inkscape.exe to the command
  line and it still works

So Inkscape still seems to be doing something which messes up the output somehow...