Merged in marius_stanciu/flatcam_beta/Beta (pull request #218)

Beta - small fix for command line --shellvar argument
This commit is contained in:
Marius Stanciu
2019-09-19 01:42:11 +00:00
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