Background jobs not processing
Posted: Wed May 09, 2018 6:27 am
To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build:
SAPIEN Powershell Studio 2018
Version 5.5.152
32 or 64 bit version of product:
64-bit
Operating system:
Microsoft Windows 10 Enterprise
10.0.16299 N/A Build 16299
32 or 64 bit OS: 64 bit
In order to create powershell GUI scripts which are responsive, I have been using the framework designated in the below link in order to run the processes associated with control events as background jobs:
https://www.sapien.com/blog/2012/05/16/ ... ive-forms/
I have used this in several projects successfully, however, in my most recent project, these background jobs will hang indefinitely and never process the contents of the "completescript" scriptblock. The contents of the "jobscript" script block will execute, but there appears to be an issue with the transition from the end of the "jobscript" scriptblock to the start of the "completeScript" block. Oddly, this issue started occurring around when the last powershell studio update was released. Any ideas?
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build:
SAPIEN Powershell Studio 2018
Version 5.5.152
32 or 64 bit version of product:
64-bit
Operating system:
Microsoft Windows 10 Enterprise
10.0.16299 N/A Build 16299
32 or 64 bit OS: 64 bit
In order to create powershell GUI scripts which are responsive, I have been using the framework designated in the below link in order to run the processes associated with control events as background jobs:
https://www.sapien.com/blog/2012/05/16/ ... ive-forms/
I have used this in several projects successfully, however, in my most recent project, these background jobs will hang indefinitely and never process the contents of the "completescript" scriptblock. The contents of the "jobscript" script block will execute, but there appears to be an issue with the transition from the end of the "jobscript" scriptblock to the start of the "completeScript" block. Oddly, this issue started occurring around when the last powershell studio update was released. Any ideas?
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM