Questions tagged [output]

The externally observable consequences of calling a program on some input

The output of a program is the set of externally observable consequences of running a program on the given input.

A program's output can be manifested in several forms:

  1. What is printed to and/or
  2. What is written to an external file
  3. What changes are made to the inputs, which are then used in other functions or programs
9797 questions
3
votes
0 answers

How do i add LogCat into "Output" Visual Studio Code?

at Visual Studio Code, i have an extension called React Native Tools and after using React Native: Run Android on Device i have a Logcat in Output like this: My question is how can i create Logcat into Output tab Manually? in case i'm not used…
flix
  • 1,688
  • 3
  • 34
  • 64
3
votes
1 answer

Append Text File In PowerShell

So I'm trying to write a quick script to help my son study for his spelling bee. I've got almost everything working, but I'd like to track his results, so I'm trying to write to output to a text file. I only care about the most recent results, so…
Christopher Cass
  • 817
  • 4
  • 19
  • 31
3
votes
3 answers

how to print jupyter background job output in cell it was launched from?

When launching a background job from an IPython Jupyter Notebook, how can I make the printed output appear in the cell it was launched from, rather than in the cell I am currently working in? The print() command seems to print into the current…
Peter
  • 501
  • 5
  • 14
3
votes
1 answer

Is there a way to check the jenkins output for a job and if the string exist make the job succeed otherwise fail?

I have a pipeline which has 2 steps: the first one is doing a "build" job with an error - the project name isn't correct (test3 instead of test) and a second step which prints 1 right now there are 2 problems with this pipeline, 1) the first stage…
JHON SMITH
  • 103
  • 1
  • 1
  • 6
3
votes
0 answers

Jenkins console ignores newlines

Python script is triggered by a Jenkins build. The output generated by Python's print() is then transmitted to Jenkins. Each Python's output string is postabmled by \r\n which, however, is misinterpreted while displaying text in Jenkins console…
youtube2019
  • 165
  • 9
3
votes
6 answers

display system.out.println in logcat

Does someone know how should I have my System.out.println() displayed in the logcat.I tried in the command line to browse my tools directory form C-Program Files-Android-android-sdk...tools,but when I use the ADB log-cat it says that ADB is not…
adrian
  • 4,574
  • 17
  • 68
  • 119
3
votes
1 answer

How to colorize command output in bash script?

I'am trying few days to change color output from command in bash script. I tried some workflows with e.g. trap but without success.The only what partially working is this code: #!/bin/bash GRN='\e[32m' CYN='\e[36m' END='\e[0m' echo -e…
user11802360
3
votes
1 answer

Webpack - Generating multiple HTML files with different javascript script files

I'm unable to create multiple Html files with separate javascript files in webpack. I have set up multiple entries with output configured as [name].bundle.js. I'm also using multiple new HtmlWebpackPlugin() to create html files as well. I am sure…
Joseph K.
  • 1,055
  • 3
  • 23
  • 46
3
votes
1 answer

How to reduce a neural network output when a certain action isn't performable

I'm using neural network and tensorflow to for reinforcement learning on various stuff with Q learning method, and I want to know what is the solution to reduce the outputs possibilities when a specific action corresponding to a specific output…
Xeyes
  • 583
  • 5
  • 25
3
votes
2 answers

How to get report + score from Pylint when run Python code?

I can't seem to get any return value when running pylint from Python code directly. Running it from the command line generates a nice report, with a summarized score at the bottom. I've tried putting the return value of "Run" into a variable, and…
Alexy Grabov
  • 151
  • 1
  • 13
3
votes
0 answers

How to animate multiple command lines?

I wonder how to animate multiple lines, like what Docker does. I'm hoping for a Java or C++ example, but I don't think it matters with ANSI. macbook: bill$ docker pull jenkins Using default tag: latest latest: Pulling from…
NonCreature0714
  • 5,744
  • 10
  • 30
  • 52
3
votes
2 answers

Download PDF file from Outputstream

I am working with this method to get a file @GetMapping(value = "/test", produces = MediaType.APPLICATION_PDF_VALUE) public String test() throws FOPException, IOException { SisDocuments document =…
Yagami Light
  • 1,756
  • 4
  • 19
  • 39
3
votes
1 answer

C: double to int conversion error in gcc 6.3.0

I have the following c program, and some of the times I run it, the output differs, based on the compiler and the platform. I understand that double to int conversion could cause problems. Here is the code: //Compiler version gcc 6.3.0 #include…
user9685465
3
votes
1 answer

OpenGL Output Not Displaying Correctly using Image for Texture

so I got an image as a texture for a square, but the problem is that whenever I run the code I get this: But when I take this line out: glTexImage2D(GL_TEXTURE_2D, 0, 3, image1->sizeX, image1->sizeY, 0, GL_RGB, GL_UNSIGNED_BYTE,…
alti21
  • 127
  • 2
  • 11
3
votes
1 answer

C/C++ print custom EOL

I want to generate on Windows a file (script) for UNIX. So I need to output just LF characters, without outputting CR characters. When I do fprintf(fpout, "some text\n");, character \n is automatically replaced by \r\n in the file. Is there a way to…
Serge Rogatch
  • 13,865
  • 7
  • 86
  • 158