Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Pontes2012-06-13 17:25:23 +0000
committerOtavio Pontes2012-06-13 20:16:17 +0000
commitc5a75343b64ffe69efe7827c7c4d4bf306a5d420 (patch)
tree9d67d7bc14db2766279711b017cdb06b4a1e9ffd
parent054298b18ea20af6e0738df6963d09c046510193 (diff)
downloadorg.eclipse.linuxtools-c5a75343b64ffe69efe7827c7c4d4bf306a5d420.tar.gz
org.eclipse.linuxtools-c5a75343b64ffe69efe7827c7c4d4bf306a5d420.tar.xz
org.eclipse.linuxtools-c5a75343b64ffe69efe7827c7c4d4bf306a5d420.zip
ssh.proxy: Escaping all arguments to avoid issues with spaces in args
-rw-r--r--profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java b/profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java
index 37f65add3c..cc890b2c96 100644
--- a/profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java
+++ b/profiling/org.eclipse.linuxtools.ssh.proxy/src/org/eclipse/linuxtools/internal/ssh/proxy/SSHCommandLauncher.java
@@ -52,7 +52,7 @@ public class SSHCommandLauncher extends SSHBase implements IRemoteCommandLaunche
cmd.append(" "); //$NON-NLS-1$
if (args != null)
for (String s : args) {
- cmd.append(s);
+ cmd.append("\"" + s + "\""); //$NON-NLS-1$ //$NON-NLS-2$
cmd.append(" "); //$NON-NLS-1$
}

Back to the top