Questions tagged [console-application]

A console application is a computer program designed to be used via a text-only computer interface, such as a text terminal, the command line interface of some operating systems (Unix, DOS, etc.) or the text-based interface included with most Graphical User Interface (GUI) operating systems, such as the Win32 console in Microsoft Windows, the Terminal in Mac OS X, and xterm in Unix.

A console application is a computer program designed to be used via a text-only computer interface, such as a text terminal, the command line interface of some operating systems (Unix, DOS, etc.) or the text-based interface included with most Graphical User Interface (GUI) operating systems, such as the Win32 console in Microsoft Windows, the Terminal in Mac OS X, and xterm in Unix. A user typically interacts with a console application using only a keyboard and display screen, as opposed to GUI applications, which normally require the use of a mouse or other pointing device. Many console applications such as command line interpreters are command line tools, but numerous text-based user interface (TUI) programs also exist.

As the speed and ease-of-use of GUI applications have improved over time, the use of console applications has greatly diminished, but not disappeared. Some users simply prefer console based applications, while some organizations still rely on existing console applications to handle key data processing tasks.

7241 questions
2
votes
1 answer

gpg crypt and decrypt

I am trying to crypt and decrypt Strings. Now I have done this: mis@fasan:~$ echo "hallo" | gpg --symmetric --pgp8 --cipher-algo AES256 > /tmp/1 Enter passphrase: Repeat passphrase: mis@fasan:~$ mis@fasan:~$ cat /tmp/1 | gpg --decrypt gpg: AES256…
mis
  • 21
  • 1
  • 2
2
votes
1 answer

IntelliJIdea terminal falling and closing

I have set the terminal in IntelliJIdea to no shell integration, no close session when it ends. (I tried to change them, but that did not help against the current problem) 2020.1 was installed, and after that, when I launch the JBoss AS 6.1 in the…
Gangnus
  • 24,044
  • 16
  • 90
  • 149
2
votes
2 answers

Deploying a console app to the filesystem on an Azure VM using Azure Devops

I have a console application written in .Net core that functions as a windows service. My aim is to deploy this to one of our VMs using Azure devops so that we can install the application as a service and have it poll an internal api and run some…
2
votes
1 answer

.net Core Console application in Docker Container throws System.ObjectDisposedException

i found many entries to this issue but no solution worked for me. In short i have a .net Core 3.1 console application which i want to run in Docker. If i start the Application in Visual Studio or via the commandline all works fine (Debug and Release…
metabolic
  • 669
  • 1
  • 7
  • 24
2
votes
2 answers

Open a Window since Programm class?

I have a console application. So I need Open a Window called "UserInterface.xaml" this is a Window. I my class Program I have this: class Program { [STAThread] static void Main(string[] args) { var…
ale
  • 3,301
  • 10
  • 40
  • 48
2
votes
1 answer

How can I end to end test this .net core console application?

I have a .Net Core 2.0 console application. The main() method is like this: public static async Task Main() { // create host builder var hostBuilder = new HostBuilder(); var myApp = new MyApplication(); // Build host var host =…
millie
  • 2,642
  • 10
  • 39
  • 58
2
votes
3 answers

How can we prevent console windows from being displayed under Visual Studio?

Is it possible (and how) to disable the display of the Console window when we launch an application under Visual Studio? EDIT: Some precisions: I have at the beginning of this project no GUI system. In a second time I have added QT gui to this…
Guillaume Paris
  • 10,303
  • 14
  • 70
  • 145
2
votes
1 answer

GraphQLClient ERROR when creating an GraphQLHttpClient: IGraphQLWebsocketJsonSerializer

Using GraphQL version 2.1.0, I can't create the object: GraphQLHttpClient. I immediately get the following error: System.AggregateException HResult=0x80131500 Message=One or more errors occurred. (no implementation of…
Walczak Jakub
  • 92
  • 1
  • 10
2
votes
1 answer

Have tasks permanently run in background in Console application

I will start off by describing what I want to achieve. The idea is that I have multiple objects of a class with their own different timers. When a timer for an object runs out, I want that object to print a message to the console and then reset the…
Stefan
  • 59
  • 8
2
votes
4 answers

Visual Studio project builds into dll rather than executable

I'd imagine this as a massively dumb question but when I build my solution (console app) it creates a dll rather than an executable. Am I doing something wrong or just misunderstanding how this works?
smeel
  • 29
  • 2
2
votes
1 answer

Strange Console.Write() behaviour

I've created a simple console application which creates a 16 x 16 window and fills it with some characters. The problem is that it runs fine (and according to expectations) only when I launch it in Microsoft Visual Studio 2019. It doesn't matter if…
StrandedKitty
  • 305
  • 3
  • 14
2
votes
2 answers

A problem i have in my Console App "Game"

So I made a "game" in a c# console app project which is basically a hero who must kill a monster and both the hero and the monster have HP and a random amount of damage given and taken (as it should be). I have a couple tiny problems which don't…
Ongoaviv
  • 21
  • 3
2
votes
0 answers

Execute a command line process with C++ and gracefully close on Windows 10

As part of my automated test suite, I have a C++ Program (A) that executes a command line Process (B) using CreateProcess(). The process only terminates when it receives a SIGINT signal (for reasons outside of my control). I can terminate the…
Anas Yousef
  • 93
  • 1
  • 7
2
votes
1 answer

How to use the individual console windows for the child console applications?

Windows 10, C#, .NET Core 3.1 I want to have multiple console windows for output. For example, on one display I want to place the one console window which will display errors only output, on other display I want to place the set of other console…
Andrey Bushman
  • 11,712
  • 17
  • 87
  • 182
2
votes
1 answer

C# code written in Visual Studio won't run in Visual Studio Code

I am trying to run a .NET Core Application in Visual Studio Code that was created in Visual Studio 2019. I'm having trouble with the dotnet run part, though. It keeps giving me this error: Unable to run your project. Ensure you have a runnable…