Author Topic: Is it possible for console output to be directed to Windows Terminal?  (Read 2985 times)

0 Members and 1 Guest are viewing this topic.

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Is it possible to have output from a QB64 program that normally goes to a console window be directed to a Windows Terminal console (CMD) window?

FellippeHeitor

  • Guest
Re: Is it possible for console output to be directed to Windows Terminal?
« Reply #1 on: September 05, 2021, 01:34:04 pm »
Code: QB64: [Select]

Yes.

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Re: Is it possible for console output to be directed to Windows Terminal?
« Reply #2 on: September 05, 2021, 01:45:29 pm »
My apologies. I don't think I clarified my question enough.

When I say "Windows Terminal" I am referring specifically to the "Windows Terminal" application which includes not only command console but powershell and azure shell console that can be arranged in a multi-tabbed configuration as in the image attached.

  [ You are not allowed to view this attachment ]  

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Re: Is it possible for console output to be directed to Windows Terminal?
« Reply #3 on: September 05, 2021, 01:55:52 pm »
More info about Windows Terminal can be found here:

https://docs.microsoft.com/en-us/windows/terminal/

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Re: Is it possible for console output to be directed to Windows Terminal?
« Reply #4 on: September 08, 2021, 12:30:37 pm »
Since no one is responding to my query I'll simply make the assumption that this is not possible.

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Is it possible for console output to be directed to Windows Terminal?
« Reply #5 on: September 08, 2021, 02:16:40 pm »
You have not stated your question clearly. Not sure if you mean that you are wanting to run a console program from QB64 in Windows Terminal or if you are asking if you can SHELL to Windows Terminal. You can run any console app in Windows Terminal as you would with CMD. As for no one responding to your post, I see that at 1:34 PM EST on September 5th, Fellippe responded to your post.
Shuwatch!

Marked as best answer by hanness on September 08, 2021, 07:05:51 pm

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Re: Is it possible for console output to be directed to Windows Terminal?
« Reply #6 on: September 08, 2021, 07:07:16 pm »
Right, but there was no response after I clarified that by "Windows Terminal" I really did indeed mean a command prompt within the "Windows Terminal" application. But that's okay. It appears that this is not possible from all that I can find.