SAPIENCommandLine.exe

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.
User avatar
Nillth
Posts: 34
Last visit: Wed Jun 09, 2021 3:32 am
Has voted: 2 times

SAPIENCommandLine.exe

Post by Nillth »

Product: PowerShell Studio 2021 (64 Bit)
Build: v5.8.183
OS: Windows 10 Pro (64 Bit)
Build: v10.0.21292.0

Hi All,

Super Excited for the New SAPIENCommandLine.exe feature!!!!
Just started playing with it and have had some success so far...
However, it looks like it only works when you are in the PowerShell Studio 2021 Installation folder...
zC50kTTgL6.png
zC50kTTgL6.png (28.91 KiB) Viewed 2264 times
this seems to be easily fixable as I suspect that you are using something similar to this in your code base...

Code: Select all

string path = Path.Combine(Directory.GetCurrentDirectory(), "PowerShell Studio.exe");
and you will need to replace that with

Code: Select all

string path = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "PowerShell Studio.exe");
<2c>
/SPS-Building seems to be a easier option...
</2c>

User avatar
brittneyr
Site Admin
Posts: 816
Last visit: Tue Jul 27, 2021 8:07 am
Answers: 16
Been upvoted: 13 times

Re: SAPIENCommandLine.exe

Post by brittneyr »

Thank you for reporting this, I see the issue and have informed the development team. This should be fixed in the next service release.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
brittneyr
Site Admin
Posts: 816
Last visit: Tue Jul 27, 2021 8:07 am
Answers: 16
Been upvoted: 13 times

Re: SAPIENCommandLine.exe

Post by brittneyr »

The SAPIENCommandLine.exe has been updated. Please try service release 5.8.185 and let me know if you have anymore issues.
Brittney Ryn
SAPIEN Technologies, Inc.