Announcement

Collapse
No announcement yet.

external commands

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • external commands

    hi
    mirht do allows it to execute external commands ?

    thanks

  • #2
    Re:external commands

    Umm are you talking about system commands? If you are, you can write any JavaScript in the transformers and execute anything you want.
    Brendan Haverlock | Mirth Software Engineer | Mirth Corporation

    Comment


    • #3
      Re:external commands

      In your Javascript, do:

      Code:
      java.lang.Runtime().exec("your external command"«»);
      Chris Lang

      Comment


      • #4
        Re:external commands

        java.lang.Runtime().exec("your external command"); does not work.

        Comment


        • #5
          Re:external commands

          Do you receive any errors in your logs?

          Try

          Code:
          Packages.java.lang.Runtime().exec("command"«»); //be sure to replace "command" with your actual system call
          Chris Lang

          Comment

          Working...
          X