Created
July 7, 2019 16:06
-
-
Save billkindle/4ae11eb2ff2395bd9457f4f92eebb3a0 to your computer and use it in GitHub Desktop.
Capture string output from EXE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Send STDOUT to a string variable so it can be parsed later in a script | |
# WIP - Not fully tested yet | |
$StrOutput = [string] (& myApp.exe 2>&1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment