Page 1 of 1

How to start the Terminal via RunExternal in Wine?

Posted: Thu Apr 28, 2016 8:22 am
by Zinn
In Windows we can run the commander and show the directory by calling:

(!) "Dialog.RunExternal('cmd /k dir')"

How to start the terminal in Wine and execute the ls command by calling Dialog.RunExternal?

- Helmut

Re: How to start the Terminal via RunExternal in Wine?

Posted: Thu Apr 28, 2016 8:46 am
by Ivan Denisov
You can run windows terminal by this command:

Code: Select all

Dialog.RunExternal('wineconsole cmd.exe /k dir')

Re: How to start the Terminal via RunExternal in Wine?

Posted: Thu Apr 28, 2016 4:25 pm
by Zinn
Ivan,

thank you very much. It works perfectly.
Now I can start also the Windows Console program from BlackBox in Wine too.

In Ubuntu outside Wine there exist another console program called Terminal (Ctrl + Alt + T).
How to start the Ubuntu Terminal program from BlackBox?

- Helmut

Re: How to start the Terminal via RunExternal in Wine?

Posted: Thu Apr 28, 2016 5:21 pm
by Ivan Denisov
I could not find how to start ls command.

That is how you can start gedit for an example

Code: Select all

wineconsole cmd /c start /unix /usr/bin/gedit

Re: How to start the Terminal via RunExternal in Wine?

Posted: Thu Apr 28, 2016 5:34 pm
by Robert
Snould a topic of general interest, like this, be on the other forum?

Re: How to start the Terminal via RunExternal in Wine?

Posted: Thu Apr 28, 2016 5:52 pm
by Ivan Denisov
Robert wrote:Snould a topic of general interest, like this, be on the other forum?
Actually we added new feature RunExternal, so it is not bad to discuss the applications.
However community board is better for this topic.
More people can answer there.

Re: How to start the Terminal via RunExternal in Wine?

Posted: Thu Apr 28, 2016 6:46 pm
by Zinn
Robert,

I did not choose the community board, because this future is not available in BB 1.6
This future is under development.
It is available in the Center Edition since March 2016 and in the CPC Edition since April 2016.

And this subject may be change during the beta test.
Currently I proof the different behaivor between Windows and Wine.

Why hide windows does not work in Wine?
Should we insert winconsole, that we can use the same parameter in Windows and in Wine?
And there are much more questions.

- Helmut