You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If PtyProcess.spawn() is called from a GUI app, it creates a visible forground terminal window, which is then closed or hidden right after.
Thus the calling application looses focus.
On Windows OS CLI proceess need to be started with special startupinfo structure to ensure they are started in a hidden unfocused background window to avoid that effect.
If
PtyProcess.spawn()
is called from a GUI app, it creates a visible forground terminal window, which is then closed or hidden right after.Thus the calling application looses focus.
On Windows OS CLI proceess need to be started with special
startupinfo
structure to ensure they are started in a hidden unfocused background window to avoid that effect.Related python code to start such process is:
It seems related Rust code does not properly set those window attributes when starting a CLI process.
originally reported at sublimehq/sublime_text#6550
btw: Please provide a fix as python 3.8 wheel so Sublime Text can make use of it.
The text was updated successfully, but these errors were encountered: