drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

Anomaly in CMD usage of draw.io for Windows (no install)

Open daemonPainter opened this issue 1 month ago • 3 comments

  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] 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 When using the Windows NO INSTALL version 28.2.8 via command line on Windows 11 (both CMD and PowerShell) the behavior is not what a user would expect. First the program is launched probably in a new process, then the output is created.

For example:

C:\Users\me>draw.io.exe --help

C:\Users\me>
Usage: draw.io [options] <input file/folder>

Arguments:
  input file/folder                             input drawio file or a folder with drawio files

To Reproduce Steps to reproduce the behavior:

  1. unzip 28.2.8 in AppData\Roaming\Drawio
  2. Add this location to PATH
  3. launch the help command from CMD as shown above

Note: adding to path is not mandatory. You could launch it directly from the folder, behavior is the same

Expected behavior help is printed immediately after the command is parsed, no empty line is printed, the program doesn't launch a new instance of the CMD to reply

Also: once help is done printed, command line input is not printed again. Using CTRL+C to interrupt the process works, BUT is printed randomly somewhere in the CMD window.

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 28.2.8

Desktop (please complete the following information):

  • OS: Windows 11

Additional context N/A

daemonPainter avatar Oct 30 '25 14:10 daemonPainter