[Konsole-devel] [Bug 217357] execution of lists fails

gwhschenk at gmx.de gwhschenk at gmx.de
Tue Jul 19 07:59:11 UTC 2011


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





--- Comment #5 from  <gwhschenk gmx de>  2011-07-19 07:59:11 ---
Well ok, I must say didn't know about konsole forks. However, I also did not
fully understand your explanation. What I don't understand is:

If I start my commands in some, lets say, "main" konsole, then by default, as
you say, everything invoked here is forked? Not really, e.g.

main> sleep 3 ; echo 1

This sleeps 3 seconds and then prints the 1.

It seems forking is disabled in interactive mode.

If I use a second konsole to sleep, i.e.
main> konsole sleep 3 ; echo 1
then the bahaviour is as discussed.

But, who is forking what here?
The shell running in the main konsole separates the commands. Alright. So it
should be the main konsole that forks the second konsole from the echo command,
right? Consequently, the option "--nofork" in 
main> konsole --nofork -e sleep 3 ; echo 1
is an option passed to the main konsole and not an option of the second
konsole. Strange -- but ok, I hope I understood correctly.

Now the only thing, I think, being left is the misleading explanation of the
"-e" option in the konsole help text (version 2.4.3):
"-e command
   Execute command instead of the normal shell.
     Note
       Any arguments after command will be passed to command, not Konsole."

I think at least the note should be removed. Or better, some hint to forking or
so should be given. One should mention the different behaviour konsole versus
the long established xterm.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list