[Kommander-devel] konsole bug

Eric Laffoon eric at kdewebdev.org
Thu Sep 7 11:03:27 EDT 2006


On Thursday 07 September 2006 2:58 am, Michal Rudolf wrote:
> Eric Laffoon,  czwartek, 7 września 2006 03:11:
> >is it just me... It appears that the I can issue konsole.text in the same
> >button immediately after issuing a konsole.execute, but it does not block
> > and thus using @exec(echo "konsole.text>myfile") produces an empty file.
> > So applying it after for debug purposes in another button produces the
> > following.
> >Before running konsole.execute - empty file
> >After runnig konsole.execute - no file!
>
> Perhaps you meant
>    echo "@Konsole1.text" > myfile
> but this doesn't work either - redirection is handled by Bash, not by
> Kommander itself.
>
> Use
> @File.write(myfile, @Konsole1.text)

Duh? My doctor is right. I should go to bed by midnight. Thanks Michal.
-- 
Eric Laffoon
Project Lead - kdewebdev module


More information about the Kommander-devel mailing list