Project

General

Profile

Actions

Bug #3751

closed

[Crunch] crunchstat does not pass through its stdin to its child process

Added by Tom Clegg over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
0.5

Description

(Also noticed that its diagnostic message goes to stdout instead of stderr.) (this part seems to have been user error)

Desired:

$ echo foo | crunchstat -cgroup-root=/sys/fs/cgroup cat 2>/dev/null
foo
$ cat /tmp/stderr
crunchstat: Running [cat]
$

Observed:

$ echo foo | crunchstat -cgroup-root=/sys/fs/cgroup cat 2>/tmp/stderr
$ cat /tmp/stderr
crunchstat: Running [cat]
$
Actions

Also available in: Atom PDF