Menu

starting a batch file from script

Help
eric
2013-02-05
2013-02-10
  • eric

    eric - 2013-02-05

    Hello

    Is it possible to launch the execution of a batch file from a WH script ?

    If so how could I do it ?

    Thanks

     
  • Maciej Czapiewski

    Hi Eric,

    It is possible to execute some script file from WH script. To do that you can use following Groovy script:

    <script language="groovy">
        <![CDATA[
        "sh /path/to/the/script/script.sh".execute()
        ]]>
    </script>
    

    Of course I used bash script in the example but you can also execute batch file.

    Cheers,
    Maciej

     
  • eric

    eric - 2013-02-10

    Super !!

    Thanks

     

Log in to post a comment.