Questions tagged [console-output]
103 questions
0
votes
1 answer
Capture Unicode command line output
I have a procedure to capture a hidden Command Prompt window and display the output in a TMemo. This is the same/similar code that is posted all over the internet and Stack Overflow:
var
Form1: TForm1;
…

Some1Else
- 715
- 11
- 26
0
votes
1 answer
Where I can find the Console.WriteLine output from the Blazor Server App?
I have the Blazor component library, I need to debug it. The library can be used in Blazor WASM and Blazor Server-Side Apps. For debug purposes I do some console output:
Console.WriteLine("Hello!")
In the Blazor WASM app I can see it in the…

Eugene Maksimov
- 1,504
- 17
- 36
0
votes
1 answer
disable zarr.open() output in console
I have unwanted outputs in the console from zarr.open() method. It does not have 'verbose-like' parameter. How can I get rid of those input console ?
I'm currently trying to open .ims files (Imaris pictures) thus using the zarr library through this…

Willy Lutz
- 134
- 1
- 1
- 9
0
votes
0 answers
How to capture console output from xarray.open_dataset
When accessing remote datasets with xarray.open_dataset, warnings or errors sometimes show up in my console.
Capturing messages written to sys.stderr or sys.stdout is certainly possible (or one can also add some warnings management as…

FlorianK
- 71
- 6
0
votes
3 answers
Need Help working with Nested For loop to display a block of text (Java)
I need to make a block of text that looks like this:
1 1 4
1 2 3
1 3 2
1 4 1
I have currently got this code:
for (int x = 1; x <= 4; x++) {
for (int y = 4; y >= 1; y--) {
System.out.println("1 " + x + " " + y);
}
System.out.println();
}
but it…

GuandaoPrime
- 25
- 6
0
votes
1 answer
Why does powershell -c 'write-output "foo bar"' print its output on two lines?
When I invoke powershell with the -c command line parameter and a write-output "foo bar" command, the words are printed on separate lines:
PS> powershell -c 'write-output "foo bar"'
foo
bar
When I execute the following line, it prints both words…

René Nyffenegger
- 39,402
- 33
- 158
- 293
0
votes
2 answers
Can i mirror the console output to a website?
Is there any way I can mirror the console output to localhost in java and maybe even add some nice CSS to it. It would be cool if the console could also be reached by other devices in the same network. I have done much research regarding this topic…

CreativeDifference
- 29
- 2
- 9
0
votes
1 answer
Suppressing stubborn console output on system calls in Ruby
I'm calling imagemagik's convert program from within ruby to convert image types. I'm redirecting both stdout and stderr to /dev/null but I'm still getting console text. It only occurs when converting FROM webp so I suspect it's output from the…

Eric M
- 109
- 1
- 6
0
votes
1 answer
redirect GridSearchCV (or any other Sklearn object) output to file
I want to be able to save GridSearchCV output to file while running.
GridSearchCV(XGBClassifier(), tuned_parameters, cv=cv, n_jobs=-1, verbose=10)
This is an example for an output:
Fitting 1 folds for each of 200 candidates, totalling 200 fits
…

nogmos
- 859
- 1
- 8
- 12
0
votes
0 answers
Is it possible to block print calls in java?
if a method is called but the method calls System.out.print(); and prints on the console, is there any way to disable printing on console for that specific method calls and enable again

Akshar Patel
- 23
- 3
0
votes
0 answers
Eclipse console output vs command line
I develop a small java app, I've exported as a .jar as java -jar my.jar
I developed the app in eclipse and the Eclipse output console renders correctly using Windows PowerShell as well but if I use for example a Cygwin shell it does not render…

James May
- 11
- 3
0
votes
1 answer
How can I get a Unicode character from a number?
I'm new to C++, so sorry if this is obvious.
How can I get a character from a number?
I have the following code:
for (int i = 0; i < 500; i++) {
cout << i;
}
It's supposed to get the first 500 characters in the Unicode dictionary.
I know that…

Spej
- 31
- 3
- 6
0
votes
0 answers
How do you remove the console output inputted by the user in eclipse?
I want the program to wipe out the previous console output. For example i have a data entry program that when the program repeats, the whole output that were inputted must be wiped away in the console for privacy (for instance, if someone you don't…

Static_void
- 23
- 4
0
votes
3 answers
To print console output to text file Java?
I'm trying to send the output of my program to a text file called results.txt . Here's my attempt
public void writeFile(){
try{
PrintStream r = new PrintStream(new File("Results.txt"));
PrintStream console =…

Sister Coder
- 324
- 1
- 2
- 12
0
votes
2 answers
Loop trough docker output until I find a String in bash
I am quite new to bash (barely any experience at all) and I need some help with a bash script.
I am using docker-compose to create multiple containers - for this example let's say 2 containers. The 2nd container will execute a bash command, but…

andrei1986
- 25
- 9