From 6066ccdfd5ff2392b3a82337ff5e29340e9be903 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Thu, 1 Dec 2022 16:53:21 -0500 Subject: [PATCH] STEP: Normalize path to kicad-cli Keeping the path relative messes up the logic that loads the DSO Fixes https://gitlab.com/kicad/code/kicad/-/issues/12728 --- pcbnew/dialogs/dialog_export_step.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/dialogs/dialog_export_step.cpp b/pcbnew/dialogs/dialog_export_step.cpp index 52cb767169..9f70b5279d 100644 --- a/pcbnew/dialogs/dialog_export_step.cpp +++ b/pcbnew/dialogs/dialog_export_step.cpp @@ -378,6 +378,7 @@ void DIALOG_EXPORT_STEP::onExportButton( wxCommandEvent& aEvent ) #endif appK2S.SetName( wxT( "kicad-cli" ) ); + appK2S.Normalize( wxPATH_NORM_ALL ); wxString cmdK2S = wxT( "\"" ); cmdK2S.Append( appK2S.GetFullPath() );