Questions tagged [console-output]
103 questions
2
votes
1 answer
PowerShell stdout and redirect
I would like to build powershell pipeline like
cmd | transform_a | stdout_and | transform_b | store_variable
^
|
copy input to next consumer and to console
I tried to utilize Tee-Object but…

svobol13
- 1,842
- 3
- 25
- 40
2
votes
1 answer
Jenkins build log has encoded URLs to child jobs/projects
My Jenkins (1.539 on RHEL) job, named "Parent-Job", is configured to "Trigger/call builds on other projects"; the project triggered is named "Child-Job".
Jenkins "console output" shows the proper output (plain text with HTML links to the Child-Job…

zgsh
- 23
- 5
2
votes
1 answer
Reading console output of a detached process
Hi I am firing a detached process from Qt using QProcess. I want to read the console output of the process in a QString. Here is the code
#include
#include
#include
int main(int argc, char *argv[])
{
…

ishan3243
- 1,870
- 4
- 30
- 49
2
votes
2 answers
Jenkins and git
I am using Jenkins for my test system automation. I am using git plugin. All is working well except one thing.
When I push something in my branch, Jenkins launches my tests etc. But when I click on Console output at the beginning it says "Started…

Niknolty
- 93
- 9
1
vote
0 answers
Delay in loading console output
My Jenkins job has around 25000 lines of console output
If I open the job and choose the option as 'Show in Plain Text', complete output is displayed within seconds.
But, if I choose the option console output, it takes several around 10 mins to…

John
- 38
- 6
1
vote
1 answer
.speak() method is giving unnecesary output
Recently, I found out about the spvoice interface. Therefore, I wanted to make a small program that makes Powershell say something I type into it. So, I made this:
$Voice = New-Object -ComObject Sapi.spvoice
for(;;){
Clear-Host
$UserInput =…

PlatoHero
- 31
- 5
1
vote
1 answer
Redirecting command prompt process output to WPF TextBox
I am attempting to redirect a process running a command prompt to output to a WPF textbox. I found some very helpful code in a previous question here that got me most of the way. The redirect works, but only up until the end of the first line. For…

arrowSpace
- 11
- 3
1
vote
0 answers
Why can't I redirect error output from cscript to a text file when I'm calling it from another VBScript?
Alright, so I'm pulling my hair out over this one. I have a VBScript that calls other VBScripts, and I need it to output the errors to text files, since the scripts should be running non-interactively. Oddly enough, though, it doesn't work.
I'm able…

Benjamin Krausse DB
- 53
- 6
1
vote
2 answers
Using UTF-16 for I/O with Visual Studio instead of code pages
I have this working on Visual Studio 2019 using code pages:
#include
#include
int main()
{
UINT oldcp = GetConsoleOutputCP();
SetConsoleOutputCP(932); //932 = Japanese.
//1200…

Topological Sort
- 2,733
- 2
- 27
- 54
1
vote
0 answers
Jenkins Console Output is taking too long to print Failures after the tests are done running
I have around 650 tests that runs in Jenkins everyday for regression. The tests are running fine but when the tests are done running Jenkins is taking too long(more than 2 hours for 50 tests) to print the Summary of the run.
I am not able to figure…

Sammy
- 21
- 3
1
vote
0 answers
Live console output with colors on jenkins with pytest
How to see to console output in live on jenkins with pytest?
Important note:
I need also to see the colors with AnsiColor and I see them with this command:
pytest [path_to_test] --capture tee-sys
But it's not in live
IF I run this command:
pytest…

Nick
- 35
- 5
1
vote
1 answer
Debugger has correct output but normal execution does not
I'm having this strange issue where my code does exactly what I want it to when I run it through my debugger, but it doesn't work when I run it normally. What's stranger is that I am not getting a runtime error either. This is where the issue might…

amy
- 51
- 7
1
vote
0 answers
How to extract error in console output of Jenkins?
I'm trying to find specific errors from Jenkins console output and print them by echo statement. For example, I made a missing in my closing statement " } "As shown in my pipeline script, which produces the error in Jenkins console output as…

james
- 19
- 4
1
vote
0 answers
C# append command line output to a Text Box
I'm writing a program (a C# winforms application) to print the console output of a process to a Textbox as follows.
private void button21_Click(object sender, EventArgs e)
{
Process p = new Process();
p.StartInfo.FileName =…

Buddhika Bandara
- 351
- 1
- 11
1
vote
1 answer
Within contextlib.redirect_stdout() the print()-function causes an AttributeError: 'str' object has no attribute 'write'
I tried to redirect the entire console output of a specific part of my python code to a textfile following the advice of this post.
According to that post, it should work with contextlib.redirect_stdout(), but when the first print()-command appears…

Andreas L.
- 3,239
- 5
- 26
- 65