-
Notifications
You must be signed in to change notification settings - Fork 87
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
Cannot set 'mermaid_cmd' to multiple words #89
Comments
hey @slanzmich , that sounds ok. could you send a PR? |
Right, #79 would solve my issue. On the other hand, always splitting the string will break things for people specifying a path containing spaces. To support both, a list of strings should also be accepted. I'll send a PR. |
I opened #91 with an alternative implementation. |
I could also use this |
could somebody update the pr to resolve the conflicts? |
Hmm, the conflicts seem easy to fix but I'm not sure how to do that without access to @slanzmich's repo. Would it work if I forked their repo and made a separate pr? You also may have maintainer access to that branch. |
@tuncbkose sure! |
Thank you! Any idea when there may be a new version release? |
Currently,
mermaid_cmd
cannot be set to a command containing arguments / multiple words, e.g.npx mmdc
. Neithernor
work, because the command is always passed as first item of a list to
os.Popen
.What do you think about always supporting the second form, and support the first form (by calling
shlex.split
on string input) ifmermaid_cmd_shell
is set?The text was updated successfully, but these errors were encountered: