Compiled EXE $MyCommand.Path is empty

Support for all customers who have purchased a PrimalScript product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
User avatar
mupdike
Posts: 23
Joined: Fri Jun 27, 2014 5:56 am

Compiled EXE $MyCommand.Path is empty

Post by mupdike » Thu Oct 12, 2017 6:05 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: 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 1777 times
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

User avatar
Alexander Riedel
Posts: 6362
Joined: Tue May 29, 2007 4:43 pm

Re: Compiled EXE $MyCommand.Path is empty

Post by Alexander Riedel » Thu Oct 12, 2017 6:12 am

Alexander Riedel
SAPIEN Technologies, Inc.