diff options
author | Orgad Shaneh <orgads@gmail.com> | 2011-12-06 15:10:31 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2011-12-06 15:16:14 +0100 |
commit | ae518fc6dd23628d856e0fb227ef24d5428a50bc (patch) | |
tree | 58856c52cd769ef1c3e76e70fa3ec27573572b34 /src/plugins/locator/executefilter.cpp | |
parent | 9b7f746fd5f18cb206081d71f875e2ace9a9995d (diff) |
Execute: Close write channel
This prevents the executed process from waiting to user input.
Change-Id: I85944ffeea94d8cc40ddcd7a2ea2d5094a377a57
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'src/plugins/locator/executefilter.cpp')
-rw-r--r-- | src/plugins/locator/executefilter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/locator/executefilter.cpp b/src/plugins/locator/executefilter.cpp index d63f57e8cd..b643fc1081 100644 --- a/src/plugins/locator/executefilter.cpp +++ b/src/plugins/locator/executefilter.cpp @@ -165,6 +165,7 @@ void ExecuteFilter::runHeadCommand() m_process->setWorkingDirectory(d.workingDirectory); m_process->setCommand(fullPath, d.arguments); m_process->start(); + m_process->closeWriteChannel(); } } |