Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
72 views

I have been using a bash script on my Windows environment for a long time to automate certain git commands. With a new Windows 11 installation I get a completely unexpected problem with the script: ...
1 vote
1 answer
62 views

(I am using the kitty terminal emulator, though I would appreciate answers for other terminal emulators as well.) I run a command, and get some error message, like this: ~ » somecommand ❌️ Some Error ...
1 vote
0 answers
45 views

I'm trying native C++ code in an Android app, and I want to log diagnostic messages using fprintf(stderr, "msg\n");. However, I can't find these logs anywhere — they do not appear in logcat, ...
1 vote
0 answers
75 views

Is there a way to set stdout and stderr from base_stealth_options in BaseCommand when running the django command? I can't find any documentation about how to use those options. For example, I would ...
Zuerst's user avatar
  • 401
1 vote
1 answer
326 views

For SSH-connections I wrote a "wrapper" (to do automatic IP-address lookups etc.) and in the background it is using Plink.exe (the CLI version of PuTTY). This was working very well for a ...
Martin's user avatar
  • 13
1 vote
1 answer
92 views

I'm trying to add timestamp to stdout and stderr of process running by supervisord. I've created bash script that wrap the program command line - #!/bin/bash # set piped processes to be killed when ...
1 vote
0 answers
75 views

Jupyter Notebook with R kernel (IRkernel) cannot show output to STDERR. For example, below are two cells in an .ipynb file: cat("O kay!", file = stdout()) O kay! ## ...
2 votes
1 answer
238 views

How can I redirect prompt_toolkit output to standard error? I’m working with a script that uses from prompt_toolkit.shortcuts import prompt, and I'm trying to display a progress bar to standard error ...
-3 votes
1 answer
124 views

public static class Utils { /// <summary> /// Creates a Writer object that writes either to a file or to a console stream. /// </summary> /// <param name="outFname&...
0 votes
1 answer
77 views

This is a simple proof-of-concept script import logging import sys logging.basicConfig(level=logging.DEBUG) logging.info('This is a test for info') logging.error('This is a test for error') print('...
1 vote
1 answer
102 views

Consider this Bash function: func() { ( echo STDOUT; echo STDERR >&2 ) 1>1ドル 2>2ドル } And then this: $ func /dev/stdout /dev/stdout | wc -l 2 $ func /dev/stdout /dev/stderr | wc -l ...
0 votes
0 answers
34 views

Assume a shell script that has output to both stdout and stderr. While keeping their outputs to display without merging them (not 2>&1), I'd like a single file that contains both its stdout and ...
Souju's user avatar
  • 1
0 votes
1 answer
98 views

I would like to know how to append jobID to the custom stdout file names. I don't like the default option of jobname.o and jobname.e in PBS Pro. USing SLURM, I could just define stdout filenames and ...
Tissot11's user avatar
0 votes
0 answers
110 views

In my bash script I redirected stdout and stderr to a logs file to prevent it from being printed in the terminal. I set my script to exit on error occurrence using set -e switch. Now, whenever any ...
1 vote
2 answers
154 views

Description As part of a an open-source project, I am writing a script that will allow to host Jenkins agent as a service. Jenkins is running on Java, so I had to call Java.exe. What I Tried For this, ...

15 30 50 per page
1
2 3 4 5
...
96

AltStyle によって変換されたページ (->オリジナル) /