projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d1ce9d
)
Set working directory for scripts to their scriptdir
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 14 Mar 2009 22:54:41 +0000
(23:54 +0100)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 14 Mar 2009 22:54:41 +0000
(23:54 +0100)
src/client/execwrapper.cpp
patch
|
blob
|
history
diff --git
a/src/client/execwrapper.cpp
b/src/client/execwrapper.cpp
index
4958eb6
..
510a444
100644
(file)
--- a/
src/client/execwrapper.cpp
+++ b/
src/client/execwrapper.cpp
@@
-57,6
+57,7
@@
void ExecWrapper::start(const BufferInfo &info, const QString &command) {
QString fileName = scriptDir + _scriptName;
if(!QFile::exists(fileName))
continue;
+ _process.setWorkingDirectory(scriptDir);
_process.start('"' + fileName + "\" " + params);
return;
}