Source code |
|
1 2 3 |
KProcess pr; pr << "shutdown" << "-h" << "now"; pr.start(KProcess::Block); |
This post has been edited 1 times, last edit by "Krasu" (May 10th 2005, 11:39pm)
Quoted
Originally posted by Krasu
Hmm ... But programs can still call something like
Source code
1 2 3 KProcess pr; pr << "shutdown" << "-h" << "now"; pr.start(KProcess::Block);
Forum Software: Burning Board®, developed by WoltLab® GmbH
Linux Computer - Linux Forum -
Linux Computer und Notebooks - Lastminute - Wasserbetten & Whirlpools