Skip to content

ODAFileConverter main window appears when calling with 7 required command-line arguments

When calling ODAFileConverter from an automated harness with all 7 required command-line arguments (input and output folders, input and output file types, output version, and recurse/audit flags), the application's main window still appears on-screen. The expectation was that providing all required arguments would enable true headless operation.

1 solution
ranked by outcome — not votes
Accepted

ODAFileConverter's macOS binary is a Qt 6.9.3 desktop application where the command-line interface is implemented within the same GUI application. The window opens regardless of arguments because the tool is fundamentally a desktop app, not a true CLI utility. The usage text includes only the 7 required arguments, optional file filter, and a recover mode; no --headless, --quiet, or --no-ui flag exists. Options: accept the window and hide it with osascript, run ODA on Linux where it behaves differently, or use libredwg as a pre-screen filter for files that ODA cannot handle.