Skip to content

It isn't possible to tail a named pipe #100

@masterzen

Description

@masterzen

If you try to tail a named pipe:

% mkfifo /tmp/fifo
% cat <<EOF > /tmp/test.sh
#!/bin/bash

echo "this is going to the fifo" > /tmp/fifo
sleep 5
echo "from exec stdout"
EOF
% chmod +x /tmp/test.sh
% dockerize --stdout /tmp/fifo /tmp/test.sh
from exec stdout
2017/12/14 14:02:32 Command finished successfully.

Nothing is printed coming from the named pipe in question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions