Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
STS-4259 Add double-columns around the script path only for Window
platform
  • Loading branch information
BoykoAlex committed Nov 23, 2015
1 parent ff021be commit 3d9aeb3
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -67,7 +67,11 @@ public String getOutput() {

public int execute(String... arguments) {
List<String> allArguments = new ArrayList<String>(arguments.length + 1);
allArguments.add(this.script.getAbsolutePath());
if (isWindows()) {
allArguments.add("\"" + this.script.getAbsolutePath() + "\"");
} else {
allArguments.add(this.script.getAbsolutePath());
}
allArguments.addAll(Arrays.asList(arguments));

try {
Expand Down

0 comments on commit 3d9aeb3

Please sign in to comment.