LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Execution of unix script from LAE

    Employee
    Posted 06-30-2014 18:19

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Shalaka

    Hello,

    This is the query regarding execution of unix script from lavastrom node.

    How unix script will be executed from LAE graph. The requirement here is

    Unix script to be called from LAE graph which generates csv file and feeds it as an input to CSV node of Lavastorm,

    Appreciate your quick response on this


  • 2.  RE: Execution of unix script from LAE

    Employee
    Posted 07-01-2014 04:29

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    One question would be.. what does the unix script do? Is it a feature that LAE already supports?
    There's not currently a CORE node that will do this, but a custom Python or Java node could be crafted rather easily.


  • 3.  RE: Execution of unix script from LAE

    Employee
    Posted 07-01-2014 06:39

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: DanRosenblatt

    You might want to have a look at this post: http://community.lavastorm.com/threa...rom-within-BRE

    The example node attached to that post is a Python node that uses the subprocess.Popen() function (https://docs.python.org/2/library/su...en-constructor) to execute a command on the LAE Server. As mentioned above, depending on your license, there are other ways of accomplishing this, including using a Java node.