- fixed the command line argument --shellvar to work when there are spaces in the argument value

This commit is contained in:
Marius Stanciu 2019-09-19 04:41:03 +03:00 committed by Marius
parent a706fd9f1e
commit ea95c0c759
2 changed files with 2 additions and 1 deletions

View File

@ -2522,7 +2522,7 @@ class App(QtCore.QObject):
except:
command_tcl = i
command_tcl_formatted = 'set shellvar_{nr} {cmd}'.format(cmd=str(command_tcl), nr=str(cnt))
command_tcl_formatted = 'set shellvar_{nr} [list {cmd}]'.format(cmd=str(command_tcl), nr=str(cnt))
cnt += 1
# if there are Windows paths then replace the path separator with a Unix like one

View File

@ -19,6 +19,7 @@ CAD program, and create G-Code for Isolation routing.
- updated some of the default values to more reasonable ones
- FlatCAM can be run in HEADLESS mode now. This mode can be selected by using the --headless=1 command line argument or by changing the line headless=False to True in config/configuration.txt file. In this mod the Sys Tray Icon menu will hold only the Run Scrip menu entry and Exit entry.
- added a new TclCommand named quit_flatcam which will ... quit FlatCAM from Tcl Shell or from a script
- fixed the command line argument --shellvar to work when there are spaces in the argument value
18.09.2019