corral icon indicating copy to clipboard operation
corral copied to clipboard

Interleaved output

Open SeanTAllen opened this issue 5 years ago • 1 comments

Sometimes I get:

fetch: fetching from /home/sean/code/ponylang/glob
git cloning github.com/ponylang/regex.git into /home/sean/code/ponylang/glob/_repos/github_com_ponylang_regex_gitfetch: fetching dep: github.com/ponylang/regex @ 1.0.0

git checking out @1.0.0 into /home/sean/code/ponylang/glob/_corral/github_com_ponylang_regex
No dep bundle for: github.com/ponylang/regex.git

Where the "\n" at the end of "/home/sean/code/ponylang/glob/_repos/github_com_ponylang_regex_git" got lost.

It appears 1 message is going through STDERR and the other STDOUT. This could be a pony runtime env out error with the interleaving.

SeanTAllen avatar May 20 '20 13:05 SeanTAllen

As part of this, the custom Logger that Corral is using should be replaced with the Pony standard library logging mechanism which is almost identical in terms of functionality.

https://github.com/ponylang/corral/blob/master/corral/util/log.pony

SeanTAllen avatar May 24 '20 11:05 SeanTAllen