Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorAlexander Kurtakov2011-08-22 14:09:19 +0000
committerAlexander Kurtakov2011-08-22 14:09:19 +0000
commitfabbfa4eb0f0cb0d9c0273a1b94526c66462b5a3 (patch)
tree7fb37f413aa96febf57c30d3646e4f1f9cc561e0 /man
parent9f671e6980198c831d2322b06bbf2a06ef3315ea (diff)
downloadorg.eclipse.linuxtools-fabbfa4eb0f0cb0d9c0273a1b94526c66462b5a3.tar.gz
org.eclipse.linuxtools-fabbfa4eb0f0cb0d9c0273a1b94526c66462b5a3.tar.xz
org.eclipse.linuxtools-fabbfa4eb0f0cb0d9c0273a1b94526c66462b5a3.zip
Applied patch from #355385 for better Cygwin/Windows integration.
Diffstat (limited to 'man')
-rw-r--r--man/org.eclipse.linuxtools.man/src/org/eclipse/linuxtools/man/parser/ManParser.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/man/org.eclipse.linuxtools.man/src/org/eclipse/linuxtools/man/parser/ManParser.java b/man/org.eclipse.linuxtools.man/src/org/eclipse/linuxtools/man/parser/ManParser.java
index 1b48ffcc17..0634919e38 100644
--- a/man/org.eclipse.linuxtools.man/src/org/eclipse/linuxtools/man/parser/ManParser.java
+++ b/man/org.eclipse.linuxtools.man/src/org/eclipse/linuxtools/man/parser/ManParser.java
@@ -41,7 +41,11 @@ public class ManParser {
StringBuilder sb = new StringBuilder();
try {
process = builder.start();
- process.waitFor();
+ if (!(System.getProperty("os.name").toLowerCase() //$NON-NLS-1$
+ .indexOf("windows") == 0)) { //$NON-NLS-1$
+ process.waitFor();
+ }
+
InputStream manContent = process.getInputStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(
manContent));
@@ -69,5 +73,4 @@ public class ManParser {
}
return sb;
}
-
}

Back to the top