summaryrefslogtreecommitdiff
path: root/doc/reference/jsextensions/jsextension-process.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/jsextensions/jsextension-process.qdoc')
-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)