Supressing Console output

Kartik CDS kartik.cds at gmail.com
Tue Sep 4 10:47:53 UTC 2007


Hi,

I have a C++ program where i call the system call

system("killall -9 MyProcess");

When i run the program and the Process "MyProcess" is not running, i get a
message on my konsole
*MyProcess: no process killed*

I dont want anything to be printed on the console when i run the programme,
wheather or not "MyProcess" is running.

How can this be done?

Regards,
Kartik CDS



More information about the redhat-list mailing list