Recent

Author Topic: [SOLVED] execute multiple projects  (Read 1951 times)

yurkad

  • Full Member
  • ***
  • Posts: 173
  • development
[SOLVED] execute multiple projects
« on: May 05, 2016, 11:02:52 pm »
Lazarus Version: 1.6

I have two projects
Lpi1 with path Lpi1Path
and
Lpi2 with path Lpi2Path


I can open them at time by execute Lazarus exe two times.

But I need open them by command line.

If command line is Lazarus16exepath   Lpi1Path
Then can be exexute  Project Lpi1 with path Lpi1Path
If after this put in command line Lazarus16exepath   Lpi2Path
Then cannot exexute both Lpi1  and Lpi2 projects at time. Only  one of them.

I was looking in Inet by Google with the phrase "lazarus execute multiple projects"
and in this Forum with phrase "execute multiple projects" and "multiple projects".

Without Success.

There should be way to do it but I do not know.

Please, Help.

« Last Edit: May 06, 2016, 02:09:56 am by yurkad »

knuckles

  • Full Member
  • ***
  • Posts: 122
Re: execute multiple projects
« Reply #1 on: May 06, 2016, 01:15:19 am »
Not sure if this is any help as you are using the command line,

but from Lazarus: (Tools > Options... > Environment > Files) there is an option to configure how Lazarus should behave when opening new instances etc.

Might be worth trying to change this.

yurkad

  • Full Member
  • ***
  • Posts: 173
  • development
Re: execute multiple projects
« Reply #2 on: May 06, 2016, 02:09:14 am »
knuckles, thank you very much!

Now all is Ok,

Really for open Projects  I am using ShellExecute instead Command Line. But it is the same in this context.


knuckles

  • Full Member
  • ***
  • Posts: 122
Re: [SOLVED] execute multiple projects
« Reply #3 on: May 06, 2016, 04:58:28 pm »
You're welcome :)

 

TinyPortal © 2005-2018