I know this is tangentially related to Ignition but I am sure others here have faced this issue and I need help resolving it and its a two parter.
-
Calling the command correctly. In command prompt, the person who asked for this changed directory until he is in
C:\\Projects\\Code\\builds\\\Integration\\OmnicExecute
and then ranomicexceute -- Maximize Window
to run his program. Issystem.util.execute(['C:\\Projects\\Code\\builds\\\Integration\\OmnicExecute', 'omicexceute -- Maximize Window'])
the proper way to do this then? -
I get a
java.io.IOException: Cannot run program 'C:\\Projects\\Code\\builds\\\Integration\\OmnicExecute': CreateProcess error=5: Access is denied
. So obviously it’s a permissions issue but I need help resolving it. This computer has 4 users, 2 of which are admin, but the user that the operator will be running the client in (an account calledUser
blegh) is not administrator. The Ignition gateway service is logged in asLocal System Account
with Allow service to interact with desktop. I am not that familiar with Windows user groups/security- since I have 4 defined users, I don’t know which one Local Systems Account is referring to, or is it some anonymous type of limited privilege account? I have tested running the command prompt line in the User account and it executes there (without command prompt in admin mode). I am struggling to figure out how to rectify this. I figure I should be changing to an actual username instead of just local systems account but which one makes the most sense? One of the administrator accounts? Or theUser
account since that is what the client is going to be used in and that the vision client will be running in?
Any guidance is appreciated. Thank you