Author Topic: Running PixInsight processes from other apps  (Read 6978 times)

Offline vicent_peris

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 988
    • http://www.astrofoto.es/
Re: Running PixInsight processes from other apps
« Reply #15 on: 2017 August 02 11:14:54 »

PixInsight -n=2 will launch a second instance of PixInsight. Type "PixInsight --help" from the system console.

V.

Actually, what I tried to achieve was to start PixInsight in the background and then run my scripts in the running PixInsight instance (i.e. not in a new instance).

Sorry, this is not possible at this moment. But I think there are plans for that.

For the moment, you should launch PixInsight each time.


V.

Offline mstriebeck

  • Member
  • *
  • Posts: 58
Re: Running PixInsight processes from other apps
« Reply #16 on: 2017 August 02 11:20:12 »
OK - thanks. That spares me lots of trying :-)

Offline mstriebeck

  • Member
  • *
  • Posts: 58
Re: Running PixInsight processes from other apps
« Reply #17 on: 2017 August 02 13:44:08 »
One more thing:

Is it somehow possible to pass arguments from the calling program through the .scp script all the way down to the Javascript script?

Alternatively, I could create the Javascript from the calling program before invoking PixInsight - but, boy, that gets ugly ...

Thanks!

Offline mstriebeck

  • Member
  • *
  • Posts: 58
Re: Running PixInsight processes from other apps
« Reply #18 on: 2017 August 02 15:15:23 »
And another question: can I start Pixinsight minimized? Or even better not launching/showing the UI at all?

Thanks!