summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-10-07 15:32:15 -0400
committerJake Petroules <jake.petroules@petroules.com>2013-10-09 10:40:26 +0200
commitabd6dad9f0e0f94a32ada3116e7ebf4da830d23b (patch)
tree601be2236316088be5a670d3be86320d768c1de1 /doc
parent93d6066e44490c2464526bd6e71cc4d314abdaf0 (diff)
downloadqbs-abd6dad9f0e0f94a32ada3116e7ebf4da830d23b.tar.gz
Support changing the working directory in the Process JS extension.
Task-number: QBS-385 Change-Id: I3f26460051103117d493d08eaf9f30e7d5ff499b Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/jsextensions/jsextension-process.qdoc13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/reference/jsextensions/jsextension-process.qdoc b/doc/reference/jsextensions/jsextension-process.qdoc
index a40a79b9a..ab1b5705d 100644
--- a/doc/reference/jsextensions/jsextension-process.qdoc
+++ b/doc/reference/jsextensions/jsextension-process.qdoc
@@ -116,6 +116,13 @@
Sets the value of variable \c varName to \c varValue in the process environment.
This only has an effect if called before the process is started.
+ \section2 setWorkingDirectory
+ \code
+ setWorkingDirectory(dir)
+ \endcode
+ Sets the directory the process will be started in.
+ This only has an effect if called before the process is started.
+
\section2 start
\code
start(filePath, arguments)
@@ -142,6 +149,12 @@
Calling this function only makes sense for processes started via \c start() (as opposed to
\c exec()).
+ \section2 workingDirectory
+ \code
+ \workingDirectory()
+ \endcode
+ Returns the directory the process will be started in.
+
\section2 write
\code
write(data)