From d75329b6f1d380a088161483ad39efd35849b96e Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 9 Feb 2022 10:53:09 -0800 Subject: [PATCH] Quote BOM executable for spaces --- eeschema/bom_plugins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/bom_plugins.cpp b/eeschema/bom_plugins.cpp index 09eb2f06c6..84b6762504 100644 --- a/eeschema/bom_plugins.cpp +++ b/eeschema/bom_plugins.cpp @@ -100,7 +100,7 @@ BOM_GENERATOR_HANDLER::BOM_GENERATOR_HANDLER( const wxString& aFile ) if( interpreter.IsEmpty() ) interpreter = wxT( "python" ); // For macOS, should we log here? Error here? - m_cmd = wxString::Format( "%s \"%s\" \"%%I\" \"%%O%s\"", + m_cmd = wxString::Format( wxT( "\"%s\" \"%s\" \"%%I\" \"%%O%s\"" ), interpreter, m_file.GetFullPath(), getOutputExtension( m_info ) );