- Sailaja Sumanam
- PowerBuilder
- Tuesday, 17 September 2024 05:58 PM UTC
Hi,
I want to trigger one of my PB application (2022 R3 version) and make it run as windows service. I am trying to first set it up in my local laptop.
I am using NSSM to set the application as service. There are certain input login parameters which are needed to be provided to the application to run. Initially I have setup NSSM by providing the input arguments concatenated as command line argument and changed the code in my application object to look for it. If the command line argument is available then it will read the inputs and execute the application exe providing these login parameters. But I don't want this hardcoding to be done, instead it should pick up from a configuration / ini file having the details of the Login.
How can this be achieved through NSSM settings? Please let me know as I am stuck here and not able to proceed.
Thanks,
Sailaja.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.