TeamCity seems to kill subprocess


I'm using the commandline task runner to run a python script that spawns another process with subprocess.Popen and reads it's stdout.

The script runs fine on the build agent from the command line but through the task runner on teamCity the child terminates as soon as the script starts.

Is this expected behavior? Please let me know of you know of any workarounds.


1 comment
Comment actions Permalink


No, it is not expected. TeamCity does not terminate processes.
It seems that the problem is with script. To catch the problem please add more debug information to your script - processing exit codes and exceptions.


Please sign in to leave a comment.