Bug #3751

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

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

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
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]
$

Associated revisions

Revision 8350db22 (diff)
Added by Tom Clegg over 6 years ago

Pass stdin to child process. closes #3751

History

#1 Updated by Tom Clegg over 6 years ago

  • Description updated (diff)

#2 Updated by Tom Clegg over 6 years ago

  • Category set to Crunch
  • Assigned To set to Tom Clegg

#3 Updated by Tom Clegg over 6 years ago

  • Description updated (diff)

#4 Updated by Anonymous over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:8350db2288e8f915bb70328e89c2717d69ba62ad.

#5 Updated by Tom Clegg over 6 years ago

  • Subject changed from [Crunch] cgroup does not pass through its stdin to its child process to [Crunch] crunchstat does not pass through its stdin to its child process

Also available in: Atom PDF