Problem with the SAPIENCommandLine tool on PS Studio 2023

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 11 months and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
malafleur
Posts: 1
Last visit: Mon Oct 16, 2023 5:15 am

Problem with the SAPIENCommandLine tool on PS Studio 2023

Post by malafleur »

Product, version and build: PowerShell Studio 2023 (64 Bit) - v5.8.219
Operating system: Windows 11 Enterprise (64 Bit) - v10.0.22621.0
PowerShell version(s): 5.1 & 7.2.5

Our team have a workflow that uses the SAPIENCommandLine.exe tool to automate our builds. It had been working for over 3 years but for those that updated to PS Studio 2023, it is no longer working.

Here's an example of how we would use it:
SAPIENCommandLine.exe /BUILDEXE "C:\ProjectFolder\ProjectName.psproj"

Usually we would see some output in the terminal, similar to what we see if we manually build from the SAPIEN Script Packager.
Now it stops right away without returning anything or building the project, no matter what I try to pass to SAPIENCommandLine.

I tried with projects built with older versions of PS Studio, a project created with the new version and a new single file project and I get the same results.

Is this possible a bug with the new version?
Thank you
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: Problem with the SAPIENCommandLine tool on PS Studio 2023

Post by brittneyr »

I've been able to reproduce this behavior and have filed a bug report for the development team. I'll update you when I have more information.
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: Problem with the SAPIENCommandLine tool on PS Studio 2023

Post by brittneyr »

This issue has been resolved and the fix will be included in the next service release. There is no ETA for the release of the next service build yet.
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 1:00 pm
Answers: 39
Been upvoted: 30 times

Re: Problem with the SAPIENCommandLine tool on PS Studio 2023

Post by brittneyr »

Please try service build 5.8.220 and let me know if this issue is resolved.
Brittney
SAPIEN Technologies, Inc.
This topic is 11 months and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.