What is the "return code variable" for a "Run program" System Activity?
说明
What is the "return code variable" for a "Run program" System Activity? Can I pass a value from the program it is being running to the tas with that variable?
解决办法
The return code variable returns the program's execution status, not a variable we set in the program. From help: The Run Program contains a built-in variable called the Return Code variable. After the activity executes, this variable contains a numeric value determined by the program's execution status. If the program runs successfully, the return code variable value is 0.