Josef Lowder wrote:
> .
> When I start certain application programs from the command line,
> I often see multiple "WARNING" lines (as many as 50+ at a time)
> like the example below. The application runs fine, but getting
> all these warning lines is a nuisance. How can I correct this?
>
> For example, when I start 'kview' (with or without a named target
> file such as example.jpg) this always happens.
>
> kdecore (KAction): WARNING: KAction::plugAccel(): call to deprecated action.
I'm not a kde programmer but I'd guess that the app is calling old APIs.
The programmer probably needs to update it.
You can redirect the stdout and stderr to /dev/null when running from
cli so that you dont get the messages.
kview 2>/dev/null > /dev/null
You might want to write a wrapper if you're doing this with a lot of
programs
mywrapper kview
#!/bin/sh
#mywrapper script to redirect output from given command
APP=$1
shift 1
$APP $@ > /dev/null 2>/dev/null
- --
JT Morée
PC Xperience, Inc.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss