1. Ivan
  2. Valentina Studio
  3. 土, 5月 15 2021, 09:10 AM
  4.  メールで購読
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?
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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?
コメント
There are no comments made yet.
Ivan 承諾済みの回答
Right, exactly ... only first window is opened ...
Ivo
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
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).
コメント
There are no comments made yet.
Ivan 承諾済みの回答
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
コメント
There are no comments made yet.
  • ページ :
  • 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