Menu

Don't open a window when using --help and --version from command line

2021-02-03
2021-02-16
  • Pablo Gimenez

    Pablo Gimenez - 2021-02-03

    Hello.
    When running mrViewer from the command line in Windows, if I use --version or --help it opens a window to show the output.
    Would be possible to just print the output to the stout?
    Thanks

     
  • ggarra13

    ggarra13 - 2021-02-03

    Not as far as I know. It is a limitation of Windows GUI applications.

     
  • Pablo Gimenez

    Pablo Gimenez - 2021-02-04

    Mmm on top of my head ... DJV, blender, nuke and houdini can do it .
    Just try
    djv -version
    blender --version

     
  • ggarra13

    ggarra13 - 2021-02-04

    You are right. I just needed to dig more deeply into the Windows API documentation. The next version should have this fixed.

     
  • Pablo Gimenez

    Pablo Gimenez - 2021-02-16

    I saw you added this to the latest version. 5.7.3, thanks!!!!

     
  • ggarra13

    ggarra13 - 2021-02-16

    No, I didn't. I forgot to merge the change in and the version is still like it was. Sorry. v5.7.4 should have the change.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.