ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
38 stars 4 forks source link

When using the Invoke-PSUScript command, the parent job doesn't complete after the children have completed. #4088

Open bt-ndollimount opened 2 days ago

bt-ndollimount commented 2 days ago

Description of Issue

When a parent script uses Invoke-PSUScript to start a new job, the parent job isn't completing after the children have completed.

This is related to a previous bug: https://github.com/ironmansoftware/powershell-universal/issues/3845

In the screenshot, there are two child layers but we have another script that is only a single parent and child that has the same issue.

Version

5.0.16

Severity

Medium

Hosting Method

MSI (Windows Service)

Operating System

Windows

Database

PostgreSQL

Licensed

Yes

Features

Git Sync

Additional Environment data

Windows Server 2022 Standard PowerShell 7.4.6 PostgreSQL 16

Screenshots/Animations

image