Spirent TestCenter: What is the difference between "Run External Process" and "Global Services: Run Custom Command" sequencer commands?


Doc ID    FAQ19297
Version:    2.0
Status:    Published
Published date:    07/23/2020
Created Date:    07/23/2020
 

Environment/Versions

STC
Command sequencer
"Run External Process" and "Global Services: Run Custom Command" sequencer commands

Answer

Run External Process

This command will let you execute an external TCL script that that execution will be separated from the BLL of the current test session (doesn't need to be hosted in a lab server).
 

Global Services: Run Custom Command

This command works similar to "Run External Process" executing only TCL scripts, however, this will let you execute STC specific commands (without calling the library) within the BLL of the current test session (doesn't need to be hosted in a lab server).
Another difference is that this command will expect that the script returns "1" if it ended successfully, otherwise the command will be marked as failed in the command sequencer.
This command will also let you call, for example, a python script from the tcl script by using the "exec" function.
i.e:
exec python "C:/the/complete/filepath/python_script.py"

 

Find Answers

Specified Languages
English
中文

Please Sign In

Username
Password

Did you forget your password?
Click here for assistance

New user? Start here.