I have command line tools that sometimes need to output the file to an external editor so that I can edit it. These tools rely on the blocking behavior of editors: after the editor program exits, they expect the file to be modified and saved.
However, this does not work like Notepad ++. When you start Notepad ++ from the command line, its invocation on the command line returns immediately, although the Notepad ++ GUI starts. This contrasts with, say, Notepad, for which a command line call is returned only when the window is closed.
Is there a way to block the Notepad ++ command line call until I close the file that it opened?
source share