On 10.05.2017 15:14, Petri Latvala wrote:
> On Wed, May 10, 2017 at 03:10:16PM +0300, Abdiel Janulgue wrote:
>> In case the stream output is more than the pipe buf, the read loop above
>> would just unblock the rest of the entries. From pipe(2) page:
>
>
> But you don't reach that read loop
On Wed, May 10, 2017 at 03:10:16PM +0300, Abdiel Janulgue wrote:
> In case the stream output is more than the pipe buf, the read loop above
> would just unblock the rest of the entries. From pipe(2) page:
But you don't reach that read loop until system() returns. Which
happens after the program
On 09.05.2017 13:18, Petri Latvala wrote:
snip 8< -
>> +memset(buf, 0, sizeof(buf));
>> +while (read(current->read_fd, buf, sizeof(buf)) > 0) {
>> +if (current->redirected) {
>> +if (!unredirect_output(current))
>> +
On Thu, Apr 20, 2017 at 11:13:45AM +0300, Abdiel Janulgue wrote:
> Support executing external processes with the goal of capturing its
> standard streams to the igt logging infrastructure in addition to its
> exit status.
>
> Cc: Daniel Vetter
> Cc: Petri Latvala
Support executing external processes with the goal of capturing its
standard streams to the igt logging infrastructure in addition to its
exit status.
Cc: Daniel Vetter
Cc: Petri Latvala
Signed-off-by: Abdiel Janulgue