-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty Pipe runs One job instead of Zero #197
Comments
I think this is not a bug, because |
Well, I insist that |
so, may be you have a method to determine if there is empty pipeline or no pipeline? |
Yep, and you could call the method foreach-rsparallel or something like that. Nevertheless Start-RSJob on its own would still "do the wrong thing" on an empty pipeline. I consider that a bug. The problem is, Start-RSJob currently tries to solve two partially contradicting tasks, i.e.
|
so, where the code example ? ;-) |
Do you want to request a feature or report a bug?
In my opinion this is a bug, cf.
What is the current behavior?
Start-RSJob runs one job.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
... outputs "1" ...
What is the expected behavior?
... instead of nothing.
Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
Powershell 5.1, Windows Server 2016
Please provide a code example showing the issue, if applicable:
The text was updated successfully, but these errors were encountered: