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
(1,845 Views)
Solution
Accepted by topic author 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
(1,842 Views)