The call function blocks until the sub-process exits. Therefore, the GUI event loop is prevented from running. Try spawning it as a background process.
call
proc = subprocess.Popen(["notepad++.exe", "-n", line, file])
2.1m questions
2.1m answers
60 comments
57.0k users