On windows --block doesn't start. If I run kate --block I expect it to block on the commandline till I'm done editing, but it brings up the window and returns right away.
Hmm... is that a Windows "feature"... A bit of Googling found: "c:\Program Files\Kate\bin\kate.exe" | rem does this do the trick or have I missed something?
I can start kate just fine. When I do so on windows, "kate --block" should prevent kate from going into the background, but it doesn't In linux terms. "kate --block" on windows would be equal to "kate", while it really behaves like "kate &" Cheers
I think the problem is that having a GUI applicaton on Windows implicitly means a virtual & at the end. Adding "| rem" after the command works like removing the & on Linux (except you don't get stderr output). --block is for when you have an instance already running and don't want to exit the new instance until the old instance (that actually opens the provided file) exits. On Windows the new instance does not exit, but you don't notice it since the "wise" shell automatically adds a virtual '2> /dev/null &' to all GUI applications ;) Adding "| rem" is a workaround, but I think we would need a patch/volunteer to dig into the gory details of what special functions to call on windows to prevent the virtual "...&" but at the same time not always open a teminal-window.