Skip to content
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

Minor receive-rsjob incompatibility with receive-job - doesn't accept RSJob variable #61

Closed
ALuckyGuy opened this issue Mar 9, 2016 · 4 comments

Comments

@ALuckyGuy
Copy link

With standard PS jobs, you can do the following:

$job = Start-Job ...
receive-job $job

If you do the same with PoshRSJobs:

$job = Start-RSJob ...
receive-RSJob $job

the following error is produced by receive-rsjob:

Receive-RSJob : A positional parameter cannot be found that accepts argument 'PoshRS.PowerShell.RSJob'.

Additionally if you try the following

receive-rsjob -job $job

no output is received. This works however:

$job | receive-rsjob

as does this:

receive-rsjob -ID $job.id
@proxb proxb added the bug label Mar 10, 2016
@proxb proxb self-assigned this Mar 10, 2016
@proxb
Copy link
Owner

proxb commented Mar 10, 2016

I thought that I had this working... I'll see what's going on and get it updated.

@proxb proxb added the Ready label Apr 7, 2016
proxb added a commit that referenced this issue Apr 8, 2016
@proxb
Copy link
Owner

proxb commented Apr 8, 2016

The latest update should resolve this. Can you test and verify for me?

@proxb proxb added this to the 1.5.6.1 milestone Apr 8, 2016
@ALuckyGuy
Copy link
Author

Will do

@ALuckyGuy
Copy link
Author

This is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants