summaryrefslogtreecommitdiff
path: root/scp2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-16 16:17:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-17 08:35:13 +0100
commitacc083480abf506c9ff620ddbc722da467db9e3e (patch)
tree0afea9c8abbba256ea10f97f9be9d66cc2dd0a5b /scp2
parente1ecbe9335161accdea440d6b6e72c85cb032341 (diff)
split the paint method a little more
it has to be smaller to fit into my mental working-RAM Change-Id: If2225359591a070373e3a9ca0459e5c64bef7526 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142776 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scp2')
0 files changed, 0 insertions, 0 deletions
y='file diffstat' width='24%'>
1 files changed, 22 insertions, 2 deletions
diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java
index 87ed62c91289..11745dfbeeea 100644
--- a/qadevOOo/runner/helper/ProcessHandler.java
+++ b/qadevOOo/runner/helper/ProcessHandler.java
@@ -4,9 +4,9 @@
*
* $RCSfile: ProcessHandler.java,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 17:20:09 $
+ * last change: $Author: kz $ $Date: 2005-11-02 17:43:42 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -138,6 +138,12 @@ public class ProcessHandler {
this(cmdLine, null, null, null, 0);
}
+ /**
+ * Creates instance with specified external command
+ * including parameters as an array.
+ * Debug info and output
+ * of external command is printed to stdout.
+ */
public ProcessHandler(String[] cmdLines)
{
this(null, null, null, null, 0);
@@ -145,6 +151,20 @@ public class ProcessHandler {
}
/**
+ * Creates instance with specified external command
+ * including parameters as an array, with environment
+ * variables.
+ * Debug info and output
+ * of external command is printed to stdout.
+ * @see java.lang.Runtime exec(String[], String[])
+ */
+ public ProcessHandler(String[] cmdLines, String[] envVars)
+ {
+ this(null, null, null, envVars, 0);
+ cmdLineArray = cmdLines;
+ }
+
+ /**
* Creates instance with specified external command and
* log stream where debug info is printed and output
* of external command.