# Stderr output is shown after the build log rather than inline

**URL:** <https://travis-ci.community/t/stderr-output-is-shown-after-the-build-log-rather-than-inline/5124>\
**Category:** Windows\
**Tags:** web-ui, bug\
**Created:** [September 18, 2019, 1:38am UTC](https://travis-ci.community/t/stderr-output-is-shown-after-the-build-log-rather-than-inline/5124 "2019-09-18T01:38:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [September 18, 2019, 1:38am UTC](https://travis-ci.community/t/stderr-output-is-shown-after-the-build-log-rather-than-inline/5124/1 "2019-09-18T01:38:31Z")

</div>

Reported in [Python: os.system("git clone") does not shows any output from command](https://travis-ci.community/t/python-os-system-git-clone-does-not-shows-any-output-from-command/5117). Related: [Stderr tty appears later in log / visual studio build tools + vswhere](https://travis-ci.community/t/stderr-tty-appears-later-in-log-visual-studio-build-tools-vswhere/1594).

[Test shows](https://travis-ci.org/native-api/test_travis/builds/586325976) that stdout output is correctly displayed inline, but any stderr output is displayed at the end of the log, after the “Your build exited with…” message:

> ```
> $ which python; python --version
> python -c 'if True:
> import subprocess
> subprocess.check_call("echo bla-bla-bla", shell=True)
> subprocess.check_call("echo bla-bla-bla2 >&2", shell=True)
> '
> /c/ProgramData/chocolatey/bin/python
> bla-bla-bla
> The command "which python; python --version
> python -c 'if True:
> import subprocess
> subprocess.check_call("echo bla-bla-bla", shell=True)
> subprocess.check_call("echo bla-bla-bla2 >&2", shell=True)
> '" exited with 0.
> Done. Your build exited with 0.
> Python 2.7.9
> bla-bla-bla2
> 
> ```
