In order to publish our app, we are using powershell command to download a runnable jar from a remote server and execute the same. The command is configured like below:
Path To the executable file:
C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
Question
Vijay Mehta1709161018
In order to publish our app, we are using powershell command to download a runnable jar from a remote server and execute the same. The command is configured like below:
Path To the executable file:
C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe
Command line argument (Optional):
-windowstyle hidden -Command "Invoke-WebRequest https://<url of remote server>/launcher.jar -OutFile $env:TEMP\launcher.jar";java -jar $env:TEMP\launcher.jar
This above command works fine when invoked from a command prompt, but when launched via citrix, it doesn't work.
When powershell is launched as a standalone app from citrix and then the above published app is launched, it works.
Just trying to find out what could be the reason for such behavior and how to debug this.
Link to comment
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now