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

Dockerfile to run .net core console app on Linux (which is not self contained)

I have a .net Core 2.1 console application and I want to build it into a docker container that will be deployed to Linux (Alpine). If this had an output on windows of an exe (and was self-contained of course). My docker file might look like…
Rob
  • 6,819
  • 17
  • 71
  • 131
2
votes
1 answer

Console Application Console window - Visual C++

I have made a C++ code in visual studio, a console application. My question is how to make the final exe run without console ( a process only seen from task manager ) The solutions I have seen till now all make the console appear for a second then…
Mohammed B.
  • 160
  • 1
  • 3
  • 13
2
votes
3 answers

how to host C# console app on cloud

I was reading an article How to create your own auto direct message Twitter bot for free. It uses Twitter's streaming API and NodeJS to send the auto DM. It uses Heroku to host the NodeJS app. I was wondering that I can create same application in C#…
Farhan Ghumra
  • 15,180
  • 6
  • 50
  • 115
2
votes
2 answers

screen buffer in console

I am creating a console application for read and write. I have created my screen buffer for reading and writing using "CreateConsoleScreenBuffer". I am to write to the console but unable to read the input from the user. I have added the…
Johnnie
  • 235
  • 5
  • 13
2
votes
2 answers

How to avoid repeating a similar code several times?

I'm doing a Subway restaurant like console application. It's heavily dependent on loops, and there's a specific kind of loop I've repeated lots of times. Basically, I write the options, then I make the cursor be over the initial option. Whatever…
2
votes
1 answer

C# Console Toast Stops Displaying Notification

About six weeks ago I developed a C# console app as a proof of concept to generate a Windows 10 toast notification. Worked fine. I revisit the solution only to find it builds and runs without errors, but the toast notification no longer displays.…
joeschwa
  • 3,083
  • 1
  • 21
  • 41
2
votes
0 answers

ShellProgressBar child progress bars in tasks

How can I update the main progress bar and child progress bars in async tasks? I'm using ShellProgressBar found here, ShellProgressBar supports child progress bars. When I run async tasks, the progress bars do not get updated. I've tried a few…
Malcor
  • 2,667
  • 21
  • 29
2
votes
2 answers

How to open new console in Python and get data from user that typed in it?

I am looking for an Python3 script fragment that open new console window and comunicate with it. Some scenario: Open new console Prompt "Input some data" User write some data Data is send from console back to Python script Data is processed in…
BartekPL
  • 2,290
  • 1
  • 17
  • 34
2
votes
1 answer

Connect to Core MVC application data context from Core console application

I have an issue that requires me create a new Core Console application in the same project as my Core 2.0 MVC Web Application. In my MVC application I can easily connect to my database via the system data context. However when I try to connect using…
2
votes
1 answer

How can I read the content of a url parameter from a link in a webpage?

I'm currently making a C# console application with HtmlAgilityPack where I am trying to get a parameter value of a link that is on a webpage. So basically I have a webpage, on that page there are a bunch of links. And one of the links has a…
Lee Cheung
  • 101
  • 2
  • 9
2
votes
1 answer

C# SendInput() always returns 0 in Console Application

I have developed a simple Console application to poll an Xbox Controller using xinput. I would like to use the values obtained from one of the thumbsticks to move the mouse. I am able to get the x and y values from the thumbstick, but when I use…
Alexa Kirk
  • 152
  • 10
2
votes
1 answer

Invoking Azure function using C#

I have written a simple Azure function that gets a name and returns a greeting message (as I am trying to get familiar with Azure functions...) I want to trigger the functions in a simple Console Application that I wrote in C# using Visual…
2
votes
1 answer

Yii 1 Console Application Environment Variables

For a Yii 1 web application, I am using the symfony/dotenv library to read and load environment variables from a .env file. To do this, I added a code in the index.php file, require 'vendor/autoload.php'; //autoload for…
jackeblagare
  • 407
  • 7
  • 21
2
votes
1 answer

docker-compose build freeze. no error

I have docker-compose which has 7 services. here : version: '3' networks: default: external: name: rss-network volumes: shared-xml: services: mysql: image: db hostname: mysql build: context:…
2
votes
1 answer

Use MSBuild to build multiple solutions and copy the applications to separate folders

I have about 80 console applications that I want to build and output to separate target directories under a holding directory. c:\builds /App1 /App2 /app3 This script does the mass build, but I cannot seem to get it to either copy the…
Joe
  • 715
  • 2
  • 10
  • 18