Skip to content

Fix issue #26 with with space in path - #27

Merged
jrklasen merged 5 commits into
mainfrom
fix/issue-26
Apr 28, 2026
Merged

jrklasen merged 5 commits into
mainfrom
fix/issue-26

Conversation

@jrklasen

Copy link
Copy Markdown
Contributor

causes #26

jrklasen and others added 5 commits April 27, 2026 20:28
This commit introduces a new function, _run_osrm_cmd, to streamline the execution of OSRM CLI commands. It addresses an issue with path arguments containing spaces by creating temporary symlinks, ensuring compatibility with OSRM's command-line interface. The contract, customize, extract, and partition functions have been updated to utilize this new method.
This commit introduces a new test suite to validate the functionality of OSRM commands when file paths contain spaces. It includes tests for extraction, partitioning, customization, and routing, ensuring that the recent changes to handle spaces in paths are functioning correctly. Temporary directories are used to simulate paths with spaces during testing.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…pdate cleanup to force removal of temporary directories.
@jrklasen
jrklasen merged commit 26715b7 into main Apr 28, 2026
5 checks passed
@jrklasen
jrklasen deleted the fix/issue-26 branch April 28, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant