From ea114210de1dd8af8a9df2bb92fc759f939fc6b4 Mon Sep 17 00:00:00 2001 From: profesorfalken Date: Tue, 25 Sep 2018 18:59:02 +0200 Subject: [PATCH] Make public the executeScript method which uses BuffReader --- src/main/java/com/profesorfalken/jpowershell/PowerShell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/profesorfalken/jpowershell/PowerShell.java b/src/main/java/com/profesorfalken/jpowershell/PowerShell.java index 90bbd9a..3251b36 100644 --- a/src/main/java/com/profesorfalken/jpowershell/PowerShell.java +++ b/src/main/java/com/profesorfalken/jpowershell/PowerShell.java @@ -344,7 +344,7 @@ public PowerShellResponse executeScript(BufferedReader srcReader) { * @param params the parameters of the script * @return response with the output of the command */ - private PowerShellResponse executeScript(BufferedReader srcReader, String params) { + public PowerShellResponse executeScript(BufferedReader srcReader, String params) { if (srcReader != null) { File tmpFile = createWriteTempFile(srcReader);