I got these two lines that I want to run from a script file (on Yosemite 10.10.3). It works when running from terminal
CX_LICENSE=LS open -n /Applications/Inspire\ Designer\ 10.0\ GA/Inspire\ Designer.app/
I saved these two lines in a file and named it run ID. -rwxr-xr-x@ 1 Administrator staff 89 20 Jul 17:34 runID
If I double click runID then I get new window with
Last login: Mon Jul 20 17:22:27 on ttys002 dsa-mac1:~ Administrator$ /Users/Administrator/Desktop/runID ; exit; : command not foundr/Desktop/runID: line 1: /Users/Administrator/Desktop/runID: line 1: -n: command not found logout [Process completed]
any idea how to make runID work?