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

Unable to specify and execute a file from the command line #1999

Closed
2 tasks done
WangTKurata opened this issue Feb 22, 2025 · 3 comments
Closed
2 tasks done

Unable to specify and execute a file from the command line #1999

WangTKurata opened this issue Feb 22, 2025 · 3 comments

Comments

@WangTKurata
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug
Unable to specify and execute a file from the command line.
When hit the command with no specified file.

> & 'C:\Program Files\draw.io\draw.io.exe'

draw.io desktop will be shown.

However, with file name to open.

> & 'C:\Program Files\draw.io\draw.io.exe' test.drawio
returns error: too many arguments. Expected 0 arguments but got 1.

As a result, it is not possible to open files from Explorer or export them via the command line.

To Reproduce
Steps to reproduce the behavior:

  1. run drawio desktop from command line with file name
  2. See error

Expected behavior
Open the desktop application with specified open file.

Screenshots
If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 26.0.15

Desktop (please complete the following information):

  • OS: Windows

Additional context
26.0.9 is working fine.

@davidjgraph
Copy link
Contributor

Could you try 26.0.16 please?

@guillaume-mueller
Copy link

26.0.16 solves the issue here on Linux Mint 22.1 Cinnamon.

@WangTKurata
Copy link
Author

26.0.16 works fine on Windows 11 too. Thank you.

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

No branches or pull requests

3 participants