How do I get the output of the time bash command?

Anthony anthoq88 at gmail.com
Wed Jan 27 09:35:21 UTC 2021


I'm trying to read the timed output of a pipeShell command but it 
only results in empty output.

Does anyone know why this is?


```
     auto p = pipeShell("time ls");

     foreach(str; p.stdout.byLine) {
         writefln("%s",str);
     }
```


More information about the Digitalmars-d-learn mailing list