Skip to content

Instantly share code, notes, and snippets.

@dustractor
Created November 15, 2020 07:50
Show Gist options
  • Save dustractor/7eb7132d8fa9456907226863decb7db6 to your computer and use it in GitHub Desktop.
Save dustractor/7eb7132d8fa9456907226863decb7db6 to your computer and use it in GitHub Desktop.
"blah.exe"&"this.ahk" -- Hide the $#!% window that opens up when you run !shell commands or call system() from a vim terminal
DetectHiddenWindows, On
WinWait, ahk_exe winpty-agent.exe
WinHide, ahk_exe winpty-agent.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment