[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Q about konsole: How to open new tab by a script



Am Dienstag, 4. Januar 2005 16:22 schrieb Ulrich Scholz:
> with "konsole -e foo" I start a new konsole and run in it the script
> foo.  How can I instead open a new tab in an existing konsole and run
> the script there?

SESSION=dcop konsole-$PPID konsole newSession
dcop konsole-$PPID $SESSION sendSession "$COMMAND"

You must run konsole with the --script option for that. $COMMAND is the 
command line (command with all options).

HS



Reply to: