For example:
Get the file path.
ATPPath = self.fl_ctrl.GetPath()
Add the file path in command
Command= some commands in double quotes + ATPPath
Pass the command to run on CMD prompt
os.system(Command)
While running the above command it is breaking at spaces present in the folder name in the path.
Input path =>
D:\R-TOOL_SVN\input files\4.1.5-TRANSITION_ALTITUDES-Transition_Altitudes-Half_Bank-ATP.yml
Expected output path =>
D:\R-TOOL_SVN\"input files"\4.1.5-TRANSITION_ALTITUDES-Transition_Altitudes-Half_Bank-ATP.yml