how to run open -n applicaton name from command line?
You're missing the initial line of your script file - the "shebang".

Put the following in your script file:


#!/bin/sh
CX_LICENSE=LS
open -n /Applications/Inspire\ Designer\ 10.0\ GA/Inspire\ Designer.app/


That should work - the file you had before did not have enough information to tell the operating system how to run your script. You want to run a set of shell commands, so you need to tell the operating system it's a shell script, which is done by including the #!/bin/sh as the first line of the script.

See this answer on Stack Overflow for more information.

Update

Just to confirm, I've just tested this script and it works fine:

#!/bin/sh
open -n /Custom\ Applications/MacVim.app


As correctly pointed out by @fd0, you should name the script &lt;script&gt;.tool or &lt;script&gt;.command for it to be executed from Finder (where &lt;script&gt; is a meaningful name for the script).