From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to close a "Call Executable" cmd window

Solved!
Go to solution

Hi

 

I have the following sequence in the Teststand 2013

 

1. Setup

"Call Executable" call a java program in a cmd window. --> This step is working

 

2. Main

A .Net dll call the java program "n" times --> This step is working

 

3. CleanUp

How to close the cmd window openned by "call executable"? 

 

Tks

 

CallExecutable.jpg

 

 

 

0 Kudos
Message 1 of 2
(4,245 Views)
Solution
Accepted by engfpe

You can create another call executable step.  The File Pathname is TASKKILL and the arguments are "/F /IM cmd.exe /T".  This will close all open cmd windows.

 

Pulido Technologies LLC

Message 2 of 2
(4,242 Views)