Skip to content

Commit

Permalink
Resolves Issue #7
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebaggett committed Aug 5, 2017
1 parent 1d1092a commit 3dd15a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions powercat.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ Examples:
try
{
$Data,$Stream1Vars = Stream1_ReadData $Stream1Vars
if($Data.Length -eq 0){Start-Sleep -Milliseconds 100}
if($Data -ne $null){$CommandToExecute = $Encoding.GetString($Data)}
$Data = $null
}
Expand Down Expand Up @@ -769,6 +770,7 @@ Examples:
try
{
$Data,$Stream2Vars = Stream2_ReadData $Stream2Vars
if($Data.Length -eq 0){Start-Sleep -Milliseconds 100}
if($Data -ne $null){$Stream1Vars = Stream1_WriteData $Data $Stream1Vars}
$Data = $null
}
Expand All @@ -780,6 +782,7 @@ Examples:
try
{
$Data,$Stream1Vars = Stream1_ReadData $Stream1Vars
if($Data.Length -eq 0){Start-Sleep -Milliseconds 100}
if($Data -ne $null){$Stream2Vars = Stream2_WriteData $Data $Stream2Vars}
$Data = $null
}
Expand Down

0 comments on commit 3dd15a5

Please sign in to comment.