PowerShell Core on Linux Wait-Job timeout not working RRS feed

  • Question

  • Hi - 

    I'm having trouble with the Wait-Job cmdlet on PowerShell Core for Linux. I have a Job created with Start-Job, which I wait for with:

    Wait-Job $job -Timeout 30
    Which should timeout after 30-seconds. However, the command consistently hangs for 2-minutes before it completes. Am I doing something wrong, and if not, could this bug be fixed? I'm running PowerShell 6.2.0 on Ubuntu 16.04.6 LTS.

    Many thanks!

    • Moved by Dave PatrickMVP Tuesday, July 9, 2019 12:12 PM looking for forum
    Tuesday, July 9, 2019 9:04 AM