ZaneA/HashTWM

cmd windows always open

licaon-kter opened this issue · 5 comments

How to get rid of it ( http://i.imgur.com/Qmwle.jpg )?

Hi there, I'm not at a Windows machine at the moment so I can't debug right now (will try later today); are there any steps you need to reproduce this? Or does it happen just by running the executable? It is compiled as a GUI program so there shouldn't be a console window at all, but I will look into it!

Ah I realised you are probably running HashTWM from a command line to pass it some options, either you could try creating a shortcut to HashTWM with the options and running that, which shouldn't open a console, OR it might be possible to run "start HashTWM.exe -options -here" to start it detached from the console but I'm not 100% sure of that. Let me know if that doesn't work and I'll continue investigating.

No options just plain github downloaded .exe:

  • running from Explorer or FreeCommander
  • running from a shortcut

Running with cmd -> start /b hashtwm.exe

  • I get the prompt back in the cmd process
  • hashtwm process is running and tiling stuff
  • cmd is running so I get one black window on screen
  • I can kill the cmd process and hashtwm survives but ALSO the black window survives
  • closing the window from the close button kills hashtwm at any time

FYI, tested on 2 systems, both W7 64bit
BTW, this always happened, 4 months ago when I first tested it too, i've gone by the way of https://github.com/Tzbob/python-windows-tiler in the mean time thinking this might be a PEBKAC or a setup problem, I've now tested it on another system hence the bug report

Great, thanks for the feedback, I will have a play with it this afternoon and see if I can replicate what you're seeing.

Fixed now and updated the binary, since the Makefile was rewritten the flags were no longer passed through to the linker. If you download a fresh .exe it should be fine now :)