How to start the Terminal via RunExternal in Wine?

Post Reply
Zinn
Posts: 476
Joined: Tue Mar 25, 2014 5:56 pm
Location: Frankfurt am Main
Contact:

How to start the Terminal via RunExternal in Wine?

Post 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
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

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

Post by Ivan Denisov »

You can run windows terminal by this command:

Code: Select all

Dialog.RunExternal('wineconsole cmd.exe /k dir')
Zinn
Posts: 476
Joined: Tue Mar 25, 2014 5:56 pm
Location: Frankfurt am Main
Contact:

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

Post 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
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

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

Post 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
User avatar
Robert
Posts: 1024
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

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

Post by Robert »

Snould a topic of general interest, like this, be on the other forum?
Ivan Denisov
Posts: 1700
Joined: Tue Sep 17, 2013 12:21 am
Location: Russia

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

Post 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.
Zinn
Posts: 476
Joined: Tue Mar 25, 2014 5:56 pm
Location: Frankfurt am Main
Contact:

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

Post 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
Post Reply