Re: why does time (cmd) 2> file redirect time's output?

2016-03-09 Thread Stephane Chazelas
2016-03-09 08:04:33 -0500, Chet Ramey: > On 3/8/16 6:04 AM, Isabella Parakiss wrote: > > > > > This seems to be a related problem: > > $ time (exec true) # doesn't print anything > > Timing is an attribute associated with a command. In this case, that's the > simple command (`exec

Re: why does time (cmd) 2> file redirect time's output?

2016-03-09 Thread Chet Ramey
On 3/8/16 6:04 AM, Isabella Parakiss wrote: > > This seems to be a related problem: > $ time (exec true) # doesn't print anything Timing is an attribute associated with a command. In this case, that's the simple command (`exec true') that is run in a subshell. When that command is