John Arundel

Results 181 comments of John Arundel

Another repro: ``` exec go mod init blowup exec go get github.com/rogpeppe/go-internal/[email protected] ! exec go test ! stdout 'subtest may have called FailNow on a parent test' -- testdata/script/blowup.txtar --...

> The commands you are supplying via Cmds are effectively mini-main programs. Closing over the *testing.T is not something you should therefore do. This makes sense, but I can see...

Thanks for the reply! You're quite right to emphasise that the problem _users_ care about is not the double printing, but the fact that the `-work` flag does not do...

Thanks! What would the modern equivalent of a dashboard widget be? Something like this would be very useful, and I'll be upgrading macOS myself soon, so I don't suppose I'll...

Maybe a sensible compromise here is that: 1. If `FindFiles` has _any_ results, there is no error 2. If `FindFiles` has _no_ results, but there was at least one error,...

That's nice, but the addition of options makes it extremely complicated. In general, `script` is designed to help you quickly write concise programs that do fairly simple things. It's assumed...

Now that we have concurrent filters, would it make sense to reimplement this using them?

Great! Let's see if this issue gets some traction with others who want to write concurrent scripts, and see what they think of the proposed API.

Great! Do you want to try and come up with a real-world program that would use these constructs?

Nice suggestion, @LorisFriedel! Can you give a brief example of a program like this, showing how you'd like this behaviour to work?