Run multiple process?

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
duccoder
Active Member
Posts: 30
Joined: Thu Jun 25, 2015 10:11 am

Run multiple process?

Post by duccoder » Mon Jun 29, 2015 8:16 am

At one point, I can only open a single window GUI or run only one script.
If I run the 2nd will receive the message "Warning: Application already running. Aborting ..."

Is there any way I can run multiple process

- Open multiple windows simultaneously
- Run multiple scripts
- Just open the window that run scripts

User avatar
andrew
Site Admin
Posts: 9062
Joined: Fri Mar 30, 2007 6:07 am

Re: Run multiple process?

Post by andrew » Mon Jun 29, 2015 9:52 am

From the output of ./qcad -h:
Usage: qcad [Options] [Files to open]

...
-allow-multiple-instances        Don't try to avoid multiple instances from running
                                 simultaneously.
...

duccoder
Active Member
Posts: 30
Joined: Thu Jun 25, 2015 10:11 am

Re: Run multiple process?

Post by duccoder » Tue Jun 30, 2015 4:27 am

Thank. I try:
$HOME/opt/qcad-3.9.4-linux-x86_64/qcad -allow-multiple-instances
$HOME/opt/qcad-3.9.4-linux-x86_64/qcad
$HOME/opt/qcad-3.9.4-linux-x86_64/qcad
Then 3rd will abort

So, need pass -allow-multiple-instances every command run?

User avatar
andrew
Site Admin
Posts: 9062
Joined: Fri Mar 30, 2007 6:07 am

Re: Run multiple process?

Post by andrew » Tue Jun 30, 2015 7:56 am

So, need pass -allow-multiple-instances every command run?
Starting QCAD without -allow-multiple-instances checks for other running instances.
Starting QCAD with -allow-multiple-instances does not check for other running instances.

Note that if you are using the library browser, -allow-multiple-instances might break your library data base. This parameter is mostly useful for command line tools (which don't use the part library browser). For example the dwg2bmp, dwg2pdf, dwg2svg conversion scripts.

Post Reply

Return to “QCAD 'How Do I' Questions”