<!doctype html> <html> <head> <title>Execute Command</title> <link rel="stylesheet" href="styles/site.css" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="styles/icons.css" type="text/css"> <script src="js/jquery.min.js"></script> <script src="tree/collapsibleTreeMenu.js"></script> <link href="tree/collapsibleTreeMenu.css" rel="stylesheet" type="text/css"> </head> <body class="theme-default aui-theme-default"> <div id="page"> <div id="main" class="aui-page-panel"> <div id="main-header"> <div id="breadcrumb-section"> <ol id="breadcrumbs"> <li> <span><a href="Rhapsody-Integration-Engine-6.5_133160975.html">Rhapsody Integration Engine 6.5</a></span> </li> <li> <span><a href="Developing-Rhapsody_133161055.html">Developing Rhapsody</a></span> </li> <li> <span><a href="Rhapsody-Objects_133161790.html">Rhapsody Objects</a></span> </li> <li> <span><a href="Rhapsody-Components_133161994.html">Rhapsody Components</a></span> </li> <li> <span><a href="Communication-Points_133162164.html">Communication Points</a></span> </li> <li> <span><a href="Communication-Point-Types_133162205.html">Communication Point Types</a></span> </li> </ol> </div> <h1 id="title-heading" class="pagetitle"> <span id="title-text">Execute Command</span> </h1> </div> <div id="content" class="view"> <div id="main-content" class="wiki-content group"> <p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="attachments/133162507/133162508.jpg" data-image-src="attachments/133162507/133162508.jpg" data-unresolved-comment-count="0" data-linked-resource-id="133162508" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="image037.jpg" data-base-url="https://docs.rhapsody.health" data-linked-resource-content-type="image/jpeg" data-linked-resource-container-id="133162507" data-linked-resource-container-version="2"></span></p> <p>The <strong>Execute Command</strong> communication point enables you to specify and run an executable file for delivering a message.</p> <p>Supported Operational Modes: <em>Output</em></p> <h2 id="ExecuteCommand-OutputProperties">Output Properties</h2> <div class="table-wrap"> <table class="wrapped confluenceTable"> <colgroup> <col> <col> </colgroup> <tbody> <tr> <th class="confluenceTh"><p>Property</p></th> <th class="confluenceTh"><p>Description</p></th> </tr> <tr> <td class="confluenceTd"><p>Command Line</p></td> <td class="confluenceTd"> <div class="content-wrapper"> <p>The specific command required to run an executable file.</p> <p>For example, <span>in </span><em>Windows</em><span>®,</span> you can use the following command to run the executable file <code>filter.cmd</code> located in the directory <code>c:\test</code>:</p> <div class="code panel pdl" style="border-width: 1px;"> <div class="codeContent panelContent pdl"> <pre class="syntaxhighlighter-pre" data-syntaxhighlighter-params="brush: java; gutter: false; theme: Confluence" data-theme="Confluence">c:\test\filter.cmd</pre> </div> </div> </div></td> </tr> <tr> <td class="confluenceTd"><p>Working Directory</p></td> <td class="confluenceTd"><p>The directory where you want the <span>executable file</span> to run (this directory is not necessarily where the executable file is located).</p></td> </tr> <tr> <td class="confluenceTd"><p>Body as Parameter</p></td> <td class="confluenceTd"><p>Whether to append the body of the message to <span>command line as a parameter:</span></p> <ul> <li><span>En</span><span>abled</span> - the body of the message is appended to the command line as a parameter.</li> <li><span><span>Dis</span><span>abled</span> (default) -</span> the body of the message becomes the standard input (stdin) of the command line.</li> </ul></td> </tr> </tbody> </table> </div> <p> </p> </div> </div> </div> </div> </body> </html>