You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.5 KiB
39 lines
1.5 KiB
15 years ago
|
README
|
||
|
|
||
13 years ago
|
tdeinit_wrapper, kshell and kwrapper are a programs that
|
||
|
start programs via tdeinit.
|
||
15 years ago
|
|
||
13 years ago
|
E.g. You can make a symbolic link from $TDEDIR/bin/konsole to
|
||
|
$TDEDIR/bin/tdeinit_wrapper. Typing 'konsole' on the command line
|
||
13 years ago
|
will then start 'konsole.la' through tdeinit instead.
|
||
15 years ago
|
|
||
13 years ago
|
tdeinit_wrapper is the simplest for, it only passes the program
|
||
|
and arguments to tdeinit, nothing else
|
||
15 years ago
|
|
||
|
kshell is usually the best choice, it passes the program,
|
||
|
arguments, complete environment ( $PATH, etc. ) and current
|
||
13 years ago
|
working directory to tdeinit
|
||
15 years ago
|
|
||
|
kwrapper tries to make the program look like it was actually
|
||
13 years ago
|
really started directly and not via tdeinit. In addition to
|
||
15 years ago
|
what kshell does, it also tries to redirect the program
|
||
|
output to the console from which kwrapper was started, it waits
|
||
13 years ago
|
for the program started via tdeinit to finish and only after then
|
||
15 years ago
|
it exits ( it doesn't return its return value though ), and
|
||
|
it also passes most signals it gets to the process of the started
|
||
|
program ( thus allowing you to break it using Ctrl+C or stopping
|
||
|
it using Ctrl+Z ). The drawbacks of this are that you'll have one
|
||
|
more process running, and also the signal passing and output
|
||
|
redirection may not work 100% reliably
|
||
|
|
||
|
|
||
|
TODO
|
||
|
====
|
||
|
|
||
|
* There is no portable way to read out the complete environment and
|
||
13 years ago
|
pass it to tdeinit. - tdeinit should probably unset every
|
||
15 years ago
|
variable that's not set in the environment it gets from kshell or
|
||
|
kwrapper
|
||
|
* stdout/stderr of the started application goes to the console where
|
||
13 years ago
|
tdeinit was started. - done, I hope it's ok
|