Passing file names and directory paths that contain spaces can cause the compiler to fail (usually on calls to CCP/CC/LINKER). Additionally, names with escape characters (e.g. \n
or \$
) would also cause compilation to fail.
With this MR we introduce mechanisms which:
- set down a hard requirement on what characters we allow in names/paths (e.g.
a-zA-Z0-9.~-_/
) - detect and escape all space characters within the given names/paths
This MR resolves #2287 (closed).