Skip to content

Commit

Permalink
Add new function to start MAPDL asyncronously
Browse files Browse the repository at this point in the history
  • Loading branch information
dieter-wilhelm committed Mar 31, 2020
1 parent c887461 commit 81f13a8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apdl-process.el
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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 ()
Expand Down

0 comments on commit 81f13a8

Please sign in to comment.