Yes, that's what I was addressing: you can tell run() to do that, keeping stderr separate with :err(). qxx does that internally.
On Sat, Jul 28, 2018 at 4:12 PM ToddAndMargo <toddandma...@zoho.com> wrote: > On 07/28/2018 12:56 PM, Brandon Allbery wrote: > > You can control where run() sends things. > > Hi Brandon, > > I adore the run command. > > In this particular instance (curl's progress meter, which is > written to STDERR), I want STDERR to write to the shell, but > want to collect STDIN and the return code. > > curl xxxx; echo $? > > will send both to STDIN, which I can easily deal with. > > -T > -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net