[4.0 b1 linux] OpenConsole() from the IDE
[4.0 b1 linux] OpenConsole() from the IDE
If OpenConsole() is used and a program is run from the IDE another console is not opened and the program prints to the IDE's console (or to nothing if the IDE was not started from a console) unless the executable type is set to console.
It is normal. A terminal emulator is a standalone program on linux, so you can't just open a new window from within a program.
The console executable type is there to test console programs. In this case the IDE
opens the window and starts the executable inside it.
The console executable type is there to test console programs. In this case the IDE
opens the window and starts the executable inside it.
quidquid Latine dictum sit altum videtur
maybe the ide could have a preference for choosing a Terminal which will be launched when executing excutables with turned on cosole excutable option. Other IDEs like Anjuta do have a Terminal embedded, that would also be a possibility since under Linux every excutable has a commandlien associated with it that would work for all applications, however I think that would probably make the Code less cross platform.
Visit www.sceneproject.org
Choose "Console" as executable type in the compiler options and the IDE will run the
program in a terminal window.
A number of different terminal applications are automatically detected.
program in a terminal window.
A number of different terminal applications are automatically detected.
Sorry, i do not understand what you mean.Nik wrote:Other IDEs like Anjuta do have a Terminal embedded, that would also be a possibility since under Linux every excutable has a commandlien associated with it that would work for all applications, however I think that would probably make the Code less cross platform.
quidquid Latine dictum sit altum videtur
In place of the error log there is a "console" which works for the compiled programs.freak wrote:Sorry, i do not understand what you mean.Nik wrote:Other IDEs like Anjuta do have a Terminal embedded, that would also be a possibility since under Linux every excutable has a commandlien associated with it that would work for all applications, however I think that would probably make the Code less cross platform.


