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])
1.4m articles
1.4m replys
5 comments
57.0k users