diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-05 15:03:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-05 15:03:52 -0600 |
commit | 696fe6318f5758b5a4aef724444bbf18b860469c (patch) | |
tree | a041906e77a6e10d530f9ad14c817b14ca929877 /tdm/kfrontend/kgapp.cpp | |
parent | 5486d8e2a8ed86dc1fa421a46b4e3cd8b796e1ea (diff) | |
download | tdebase-696fe6318f5758b5a4aef724444bbf18b860469c.tar.gz tdebase-696fe6318f5758b5a4aef724444bbf18b860469c.zip |
Fix tdm logfile growing rapidly under certain conditions
Diffstat (limited to 'tdm/kfrontend/kgapp.cpp')
-rw-r--r-- | tdm/kfrontend/kgapp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tdm/kfrontend/kgapp.cpp b/tdm/kfrontend/kgapp.cpp index e35f16d0b..5064d88f0 100644 --- a/tdm/kfrontend/kgapp.cpp +++ b/tdm/kfrontend/kgapp.cpp @@ -196,10 +196,11 @@ kg_main( const char *argv0 ) if (trinity_desktop_lock_use_sak) { tsak = new KProcess; *tsak << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "tsak"; - tsak->start(KProcess::Block); + tsak->start(KProcess::Block, KProcess::AllOutput); } if (tsak) { tsak->closeStdin(); + tsak->closeStdout(); tsak->detach(); delete tsak; } |