Skip to content

Unable to Execute Binary with Maven Path Containing Spaces #753

@pandiyan-securin

Description

@pandiyan-securin

If Maven installed path contains "spaces" the sbom generation breaks with the follwing message. Please see the below screenshot. Pleas note:We see similar behaviour in linux OS as well.

Environment:

Operating System: Windows

Command:

cdxgen.exe -o sbom.json

Version:

9.9.5

Since there's spacing in the folder's name we are getting this error
'C:\Program' is not recognized as an internal or external command, operable program or batch file.

Screenshot 2023-12-01 at 9 26 23 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions