aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJochen Ulrich <jochenulrich@t-online.de>2019-07-08 00:10:04 +0200
committerJochen Ulrich <jochenulrich@t-online.de>2019-08-01 19:35:31 +0000
commit923f98062b4297970f382da91256c21d47b01a5e (patch)
treeef825940015e78e81acc1897339913f017af1d3b /doc
parent6a672fe58fe18b2f2e74c41048d4c15b8395440a (diff)
Add command and AutotestRunner timeout
Task-number: QBS-1454 Change-Id: I6e2514d10cca0cba0a14456ecd2abfb495539ee4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/commands.qdoc9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/reference/commands.qdoc b/doc/reference/commands.qdoc
index eb93e8f7a..d34c20cb7 100644
--- a/doc/reference/commands.qdoc
+++ b/doc/reference/commands.qdoc
@@ -1,6 +1,7 @@
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
+** Copyright (C) 2019 Jochen Ulrich <jochenulrich@t-online.de>
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qbs.
@@ -116,6 +117,14 @@
\li A flag that controls whether the \c description is printed. Set it to \c true for commands that
users need not know about. \note If this property is \c false, then \c description must
not be empty.
+ \row
+ \li \c timeout
+ \li int
+ \li -1
+ \li Time limit for the command execution in seconds. If the command does not finish within
+ the timeout, it is cancelled. In case of a \c Command, the process is requested to
+ terminate. If it does not terminate within three seconds, it is killed. A value below
+ or equal to 0 means no timeout.
\endtable
\section2 Command Properties