Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quote arguments in shell scripts #348

Closed
wants to merge 11 commits into from
Closed

Conversation

sebschmi
Copy link
Contributor

@sebschmi sebschmi commented Feb 3, 2021

When passing paths with unusual characters, e.g. spaces, quotes, braces or similar to flye, its calls to samtools and minimap2 fail.

That is because these calls go via a shell that interprets some characters in its own way. By adding single quotes around all paths when forwarding to the shell, the shell does not alter the paths but passes them correctly to the underlying program.

This pull request does exactly that.

It might be useful to squash the commits of this pull request when merging, as there are quite many with very small semantic contributions.

@sebschmi
Copy link
Contributor Author

I accidentally committed other things to this branch, so I will have to redo the pull request.

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