Page 1 of 1

SAPIENCommandLine.exe

Posted: Mon Jan 18, 2021 8:02 pm
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 3383 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>

Re: SAPIENCommandLine.exe

Posted: Tue Jan 19, 2021 7:11 am
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.

Re: SAPIENCommandLine.exe

Posted: Wed Feb 10, 2021 1:15 pm
by brittneyr
The SAPIENCommandLine.exe has been updated. Please try service release 5.8.185 and let me know if you have anymore issues.