Bug 229769 - konsole doesn't show title with -e command and redirected stdout
Summary: konsole doesn't show title with -e command and redirected stdout
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.3.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-07 07:09 UTC by poseidon
Modified: 2011-07-30 14:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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