https://bugs.kde.org/show_bug.cgi?id=469328

Nicolas Fella <nicolas.fe...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas.fe...@gmx.de

--- Comment #6 from Nicolas Fella <nicolas.fe...@gmx.de> ---
>1. Write script to test for stdin/stdout/stderr
# Test for stdout
if [ -t 1 ]; then
  echo "stdout exists" >> /tmp/output
else
  echo "stdout does not exist" > /tmp/output
fi

Are you sure this is a useful test? 

-t means "file descriptor FD is opened on a terminal". But we are not launching
things in a terminal, so I wouldn't expect it to be true? Or am I
misunderstanding this?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to