Issue created https://issues.jenkins-ci.org/browse/JENKINS-39066

Den mandag den 17. oktober 2016 kl. 20.38.56 UTC+2 skrev Joseph P:
>
> Hi
>
> I have a login command which accepts no password by "" or ''
> Command execute fine on Windows.
>
> This is how the ProcStarter gets going.
> ProcStarter starter = launcher.launch().cmds(command);
>
> The command is: /Applications/AccuRev/bin/accurev login josp ""
> Or: "C:\Program Files\AccuRev\bin\accurev.exe" login josp ""
>
> I have tried different escaping but nothing has worked.
> 7, 5, 3, 2 back slashes. backticks... single quoting. etc.
> Also tried StringEscapeUtils, even .cmdAsSingleString
>
> Any ideas would be appreciated why Java/Unix is eating my quotes.
>
> Files in question: 
>
> https://github.com/jenkinsci/accurev-plugin/blob/FixEmptyPassword/src/main/java/hudson/plugins/accurev/cmd/Login.java
>
> https://github.com/jenkinsci/accurev-plugin/blob/FixEmptyPassword/src/main/java/hudson/plugins/accurev/AccurevLauncher.java
>
> Best regards, Joseph.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/95f70208-81fc-47a7-aa35-1f1a8bc17924%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to