[
https://issues.jboss.org/browse/JBIDE-23862?page=com.atlassian.jira.plugi...
]
Dmitrii Bocharov commented on JBIDE-23862:
------------------------------------------
I said firstly that it wouldn't work because even if we add quotes, we split the
command string with spaces after:
https://github.com/openshift/openshift-restclient-java/pull/255/files#dif....
So i'm really surprised now that when we run
{code:java}
ProcessBuilder builder = new ProcessBuilder(args);
builder.start();
{code}
and pass the following array inside ProcessBuilder:
{noformat}
["C:\name, with, spaces\oc.exe", rsync, --token=ToKeN
server=https://10.1.2.2:8443, --insecure-skip-tls-verify=true, --exclude='.git',
jboss-eap70-openshift-1-zn39w:/opt/eap/standalone/deployments/, -n, myproject,
C:\Users\dbocharo\dev\runtime-New_configuration\.metadata\.plugins\org.jboss.ide.eclipse.as.core\myproject@jboss-eap70-openshift\deploy\]
{noformat}
everything finishes without errors.
Server adapter: if "oc" in preferences is set to path with
a " " syncing fails
------------------------------------------------------------------------------
Key: JBIDE-23862
URL:
https://issues.jboss.org/browse/JBIDE-23862
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.3.Final
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.5.0.AM1
Attachments: ProcessMain.java
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)