From b64e858cc675f85b69ba030e90c059f68cc3f10d Mon Sep 17 00:00:00 2001
From: Pete R Jemian <prjemian@users.noreply.github.com>
Date: Sun, 23 Apr 2017 13:38:56 -0500
Subject: [PATCH] command line option and don't start in background

* allow for command line option to specify the file to be opened
* removed the "&" that started the session in the background; QtCore.QProcess was failing on this
---
 EXAMPLE_start_caQtDM.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/EXAMPLE_start_caQtDM.sh b/EXAMPLE_start_caQtDM.sh
index 2e9bb81..0f2d96c 100755
--- a/EXAMPLE_start_caQtDM.sh
+++ b/EXAMPLE_start_caQtDM.sh
@@ -171,4 +171,6 @@ fi
 #######################################
 # start caQtDM
 #caQtDM -noMsg xxx.ui &
-caQtDM -style plastique -noMsg xxx.ui &
+
+# allow for command line option to specify the file to be opened
+caQtDM -style plastique -noMsg ${1:-xxx.ui}
-- 
GitLab