From 81f13a80ae9231852807d0e43146120444fbfad1 Mon Sep 17 00:00:00 2001 From: dieter-wilhelm Date: Tue, 31 Mar 2020 15:30:10 +0200 Subject: [PATCH] Add new function to start MAPDL asyncronously --- apdl-process.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apdl-process.el b/apdl-process.el index d276877..65e6762 100644 --- a/apdl-process.el +++ b/apdl-process.el @@ -1,5 +1,5 @@ ;;; apdl-process.el --- Managing runs and processes for APDL-Mode -*- lexical-binding: t -*- -;; Time-stamp: <2020-03-30> +;; Time-stamp: <2020-03-31> ;; Copyright (C) 2006 - 2020 H. Dieter Wilhelm GPL V3 @@ -602,6 +602,12 @@ initial input." apdl-process-name)) (concat s "\n")) (display-buffer (concat "*" apdl-process-name "*") 'other-window))))) +(defun apdl-start-mapdl () + "Start the MAPDL interpreter (Ansys Classics) under Windows." + (interactive) + (start-process ; asynchronous process + "MAPDL" "*MAPDL*" apdl-ansys-program + "-g -p " apdl-license " -j \"" apdl-job "\"")) ;;;###autoload (defun apdl-start-ansys ()