You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix missing Test Result output on Linux when using print
node-pty on Linux suffers from a long standing issue where the last
chunk of output before a program exits is sometimes dropped, especially
if that program produces a lot of output immediately before exiting.
See microsoft/node-pty#72
We can work around this by delegating to bash and forwarding the exit
code. This causes the underlying pipe to be fully flushed before we
recieve the exit event. This workaround was suggested here:
chjj/pty.js#110 (comment)
Swift currently ships on Ubuntu Debian and Fedora which all come with
`bash`. This patch assumes additional Linux distributions added in the
future will ship with `bash`.
Issue: #1393
0 commit comments