Bug 229769

Summary: konsole doesn't show title with -e command and redirected stdout
Product: [Applications] konsole Reporter: poseidon <purpleposeidon>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: adaptee, barry.scott
Priority: NOR    
Version: 2.3.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description poseidon 2010-03-07 07:09:45 UTC
Version:           2.3.2 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

Try:
$ konsole --title "No title" -e /bin/cat > /dev/zero
$ konsole --title "Yes title" -e /bin/cat

Here's a way to do it again in python:

import subprocess
subprocess.Popen(["konsole", "--title", "nada", "-e", "/bin/cat"], stdout=subprocess.PIPE)
subprocess.Popen(["konsole", "--title", "yada", "-e", "/bin/cat"])
Comment 1 Barry Scott 2010-04-19 12:58:15 UTC
This is broken for me as well.

--title is ignored is stdout is not a TTY.

This fails:
    konsole --title Title >/dev/null
This works:
    konsole --title Title >/dev/tty
Comment 2 Jekyll Wu 2011-07-19 11:05:44 UTC
can't reproduce it with 2.7.999