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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/a67b09dc-30b7-443b-8a12-1a0d2b81cba0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to