Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ParallelKit.Harness.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4372,7 +4372,7 @@ foreach ($l in $rdLeft) { Stop-Process -Id $l.ProcessId -Force -ErrorAction Sile
Test-Assert ($rdError -like '*could not start*' -and $rdLeft.Count -eq 0) ("a program whose output readers fail to build is ended and the start reported as failed (" + $rdLeft.Count + " left running, error: " + $rdError + ")")

# Initialize-ParallelKit reports the kit's version and how it starts programs.
$ipHeader = [regex]::Match([System.IO.File]::ReadAllText((Join-Path $PSScriptRoot 'ParallelKit.ps1')), '(?m)^# Version (\d+\.\d+)').Groups[1].Value
$ipHeader = [regex]::Match([System.IO.File]::ReadAllText((Join-Path $PSScriptRoot 'ParallelKit.ps1')), '(?m)^# Version (\d+\.\d+(?:\.\d+)?)\b').Groups[1].Value
$ipError = $null; $ip = $null; $ipAdded = $null
try {
$ip = Initialize-ParallelKit
Expand Down
4 changes: 2 additions & 2 deletions ParallelKit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# graceful Ctrl+C/window-close handling for Windows PowerShell 5.1 and
# PowerShell 7.
#
# Version 3.4 - https://github.com/HalRiveria/PowerShell-ParallelKit
# Version 3.4.1 - https://github.com/HalRiveria/PowerShell-ParallelKit
# (Initialize-ParallelKit reports the version too: change both together.)
# Copyright (c) 2026 HalRiveria. MIT License: keep this notice with any copy;
# the full text is in LICENSE in the repository.
Expand Down Expand Up @@ -1226,7 +1226,7 @@ function Initialize-ParallelKit {
$poolOk = $true
# The header's Version line: the version PR changes both, and the harness
# checks they match.
$version = [version]'3.4'
$version = [version]'3.4.1'
return [pscustomobject][ordered]@{ AbortHandler = $handlerOk; ChildProcessJob = $jobOk; ThreadPool = $poolOk; Version = $version; StartMode = [PkChildProcessJob]::StartMode }
}

Expand Down
Loading