[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] tos/ttp and prg difference



Hi,

On maanantai 14 tammikuu 2013, Vincent Rivière wrote:
> On 14/01/2013 21:03, Miro Kropáček wrote:
> > By the way, while we are at it, it's only me who finds this tos/ttp and
> > prg difference confusing?
> 
> Personally, I feel good with the current behaviour.
> 
> .prg are not supposed to write to the console, so it is normal that they
> don't open as shell.

I think it's quite common that GUI programs output debug output
to stdout/stderr, they are just file handles that can be redirected.

Do you consider stdout a console?


> .tos/ttp are supposed to use only text I/O, so it is normal that they
> open a new shell.
> 
> The situation is similar on MS-Windows.
> GUI applications don't automatically open a shell (a.k.a. dos box), while
> console applications do.


	- Eero