Compiled EXE $MyCommand.Path is empty

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 6 years and 5 months 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.
User avatar
mupdike
Posts: 31
Last visit: Wed Oct 27, 2021 5:25 am

Compiled EXE $MyCommand.Path is empty

Post by mupdike »

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: Primalscript 2017 7.3.107
32 or 64 bit version of product: 64-bit
Operating system: Win 10
32 or 64 bit OS: x64

*** Please add details and screenshots as needed below. ***
I am working on a compiled ps1 file and in testing with several of the script engines using both the Sapien and Microsoft script engines the command line's are showing the $MyInvocation.Mycommand.Path are empty. Attached is a screenshot of one of the exe's windows.
PowerShell empty path.png
PowerShell empty path.png (18.72 KiB) Viewed 4241 times
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: Compiled EXE $MyCommand.Path is empty

Post by Alexander Riedel »

Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 6 years and 5 months 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.