How Can I Programmatically Close a TestStand Sequence After Executing it?

Updated Jun 8, 2023

Issue Details

I am able to successfully execute a TestStand sequence from the command line. However, after the sequence execution, I want the Sequence Editor to close automatically. How can I do this?

Solution

When executing a sequence fie from the command prompt, different commands can be added to enforce different kinds of behavior during the execution.

To close the Sequence Editor immediately after the sequence file's execution has been completed, you can use a command of the format:
start /wait SeqEdit.exe -Quit -runEntryPoint "Single Pass" "<sequence file name>"