libgdx / libgdx/fbx-conv

Cannot execute cmd if fbx-conv.exe is in a path with spaces

Open
#134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
469
Forks
115
PR merge metrics
No merged PRs in 30d

Description

Thank you for making fbx-conv.exe!

On my windows 10 64bit machine I cannot run this command if the path has space in it:
cmd start C:\temp\New folder\fbx-conv.exe -f -v -o G3DJ "C:\temp\male_lp.fbx" "C:\temp\male_lp.json"

Although this works fine:
cmd start C:\temp\New_folder\fbx-conv.exe -f -v -o G3DJ "C:\temp\male_lp.fbx" "C:\temp\male_lp.json"

I tried putting quotes around fbx-conv.exe but that didn't work:
cmd start "C:\temp\New_folder\fbx-conv.exe" -f -v -o G3DJ "C:\temp\male_lp.fbx" "C:\temp\male_lp.json"

cmd start "C:\temp\New_folder\fbx-conv.exe -f -v -o G3DJ" "C:\temp\male_lp.fbx" "C:\temp\male_lp.json"

Do you know if there is a way to have it run even with spaces in path?

Thank you.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported Windows command with fbx-conv.exe in a directory containing spaces, then inspect the command-line path handling. Done means the executable can be invoked successfully when its path contains spaces, while the existing conversion arguments still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.