1. Ivan
  2. Valentina Studio
  3. Saturday, May 15 2021, 09:10 AM
  4.  Subscribe via email
Hi developers ... firstful thank you for your very good work
I am trying MySql Workbench, Navicat etc. time to time ... and quick come back to Valentina! :D
So ... short question
I am using bash skript with commands

vstudio.exe -open_connection "postgresql://host ....

But, I need open 2 windows with different connection
When I am using this example

vstudio.exe -open_connection "postgresql://host .. 1 .. " \
vstudio.exe -open_connection "postgresql://host .. 2 .. " \

Its open only first DB in Valentina Studio - not second
I am using Git Bash for direct run bash script in Win 10 ... the script contain open some folders in Explorer, Chrome etc and I need open 2 Valentina Studio with differant DB (connection) ...

Is it possible?
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
Hello Ivan,

I have to check this scenario, how the second command is handled.
Now it does nothing (no new window, no second connection), right?
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 1
Ivan Accepted Answer
Right, exactly ... only first window is opened ...
Ivo
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 2
Sergey Pashkov Accepted Answer
I'm not familiar with Git Bash, but it seems it is waiting for the completion of the application if started like

vstudio.exe ...
vstudio.exe ...


And it didn't work with "\" character at the end, is it necessary?

vstudio.exe ... \
vstudio.exe ... \


But if I run it with "start", like in BAT file

start vstudio.exe ...
start vstudio.exe ...


the script doesn't wait for completion, windows and connections are open.
In fact, they are separate processes, not just windows of one app, so the connections are not shared (as if it would be with one process and multiple windows).
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 3
Ivan Accepted Answer
Sergey you have right!
Wow, I tried some combinations, but this idea propably not.
Thank you very much. Its function.
You saved me about billions unnecessary clicks ... please come to Bear! ;)

Ivo
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Studio
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories