Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Constants.au3>
- Local $foo = Run("C:\Program Files (x86)\Cisco Systems\VPN Client\vpnclient.exe connect hska", @SystemDir, @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD)
- Local $line
- While 1
- $line = StdoutRead($foo)
- If @error Then ExitLoop
- If $line <> "" Then
- ConsoleWrite("STDOUT gelesen:" & $line & @CRLF)
- EndIf
- WEnd
- While 1
- $line = StderrRead($foo)
- If @error Then ExitLoop
- If $line <> "" Then
- ConsoleWrite("STDERR gelesen:" & $line & @CRLF)
- EndIf
- WEnd
Add Comment
Please, Sign In to add comment