Hello Robin
I have a question about the logs of a "Shell/Batch Command" step.
I'm using this step to invoke a Python script (call it "entry.py"), which subsequently invokes a few other scripts (such as funcs.py).
In some of the Python scripts, there are print outs like "in function 1...", "in function 2...".
For example:
# funcs.py
print('in function 1...')
function_1(args)
print('in function 2...')
function_2(args)
So inside function_1, there are print outs of its own info.
When I execute the "entry.py" in a command prompt, the stdout would appear in expected order:
in function 1...
func_1_info abc
func_1_info cde
.
.
in function 2...
func_2_info abc
func_2_info cde
However, when I execute "entry.py" on Quickbuild with batch command step, the output pipe is acting like a stack, which outputs:
func_1_info abc
func_1_info cde
.
func_2_info abc
func_2_info cde
.
in function 1...
in function 2...
How is this happening? Is there some kind of rule here when using stdout print outs?
Thanks!