Not straightforward. It's much easier to leave the multitasking to the operating system. I.e. run multiple instances of QCAD for every request that comes in. Multiple instances of QCAD can be run if you pass -allow-multiple-instances as command line argument.alf2006x wrote:And my another question is: can qcad3-rc1 run several scripts at the same time on the same server?
Some fundamentals about script languages:alf2006x wrote:And one question not about qcad. How can I make my binary file in Linux? I do not want to show my source code to anyone.
That is why I want to compile the binary.
The code you are writing for QCAD is written in ECMAScript (also known as 'JavaScript'). ECMAScript is a so called script language. Script languages are executed by a script interpreter (in this case the QCAD binary). Code that is written in a script language does not have to be compiled and in fact can not be compiled into native machine code.
About hiding source code:
Since your scripts are stored on a server, only people with direct access to the file system of that server (and read access to the script files) can see your code. That is very likely the best point for any access control you may want to implement.