proxb / PoshRSJob

Provides an alternative to PSjobs with greater performance and less overhead to run commands in the background, freeing up the console and allowing throttling on the jobs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Receive-RsJob doesn't process -InputObject properly

codykonior opened this issue · comments

$a = Start-RSJob -InputObject @("Dummy") -ScriptBlock { "Moo" }
$b = Start-RSJob -InputObject @("Dummy") -ScriptBlock { "Moo2" }
$c = Start-RSJob -InputObject @("Dummy") -ScriptBlock { "Moo3" }

Receive-RSJob -InputObject $a

Outputs:

Moo
Moo2
Moo3

These do work:

Receive-RSJob -Id $a.Id
$a | Receive-RSJob

Moo
Moo

I thought this was fixed but it appears to have regressed.