External Script from NXSL Script

Started by Victor Wiebe, August 07, 2014, 05:21:44 PM

Previous topic - Next topic

Victor Wiebe

Is it possible to run an external, shell script from an NXSL script and return the output as a variable?

Victor Kirhenshtein

Hi!

No, it is not possible. This is intentional limitation - NXSL scripts executed within a sandbox and cannot communicate with external world directly. However, you can define external parameter on an agent, and use AgentReadParameter function to get it's value.

Best regards,
Victor

Victor Wiebe