Skip to content

\" (backSlash double quotes) is treating as a literal, when java process issues command to the the Linux TFS command line client #321

@hssom

Description

@hssom

Hi,

In our java application, the java process is contructing command for linux TFS command line client, for a collection URL having space, by escaping double quotes around TFS collection URL as,

tf dir -login:username,Password! -collection:"http://appserver:8080/tfs/default collection" -recursive $/"test spaceNew"

The following is the error occured:

An argument error occurred: Option 'collection' requires a full URL as its value: no protocol: "http://appserver:8080/tfs/default
Team Explorer Everywhere Command Line Client (version 14.134.0.201804261732)

Note: The same command issued to windows TFS command line client works.

So, it is observed that " (backSlash double quotes) sequence is not escaping the double quotes, instead it is treating as a literal.

Please let me know, is there any solution for this.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions