Code: Select all
cmd.exe /k "binary.exe -flags"
Code: Select all
powershell.exe -NoExit -NoLogo -Command "binary.exe -flags"
All I want is the small rectangle showing output from the command executed by the button.
Bonus points if it can copy text from it to the clipboard.
Is anyone familiar with the *NT API willing to hack something along these lines?
- Accept minimally formatted (\r\n) text as an input
- Get mouse pointer position
- Draw appropriately sized window, display content
- Copy to the clipboard by right click, close window by left click