How Can I Suppress All Output from an Application?

0
9
Asked By CuriousCoder77 On

Hey everyone! I'm trying to figure out how to completely suppress all output from a specific app I'm using. I've already managed to suppress stdout by running it with `flatpak run X > /dev/null`, but there's still some other output that I can't seem to get rid of. It's not stderr, so I'm wondering if anyone knows how to handle that?

3 Answers

Answered By TechyTom123 On

More details would really help! What app are you trying to mute? How do you know the unwanted output isn't coming from stderr? It's crucial to narrow that down for better advice.

SuppressedOutput -

This is for the ArduinoIDE v2.0. The output looks like a running log of the app's actions. I've already confirmed it’s not stderr because even after I suppress both stdout and stderr, that log still shows up.

Answered By ConsoleCommander On

You could try this: run X > /dev/null 2>&1. This keeps both stdout and stderr suppressed, but if you're still seeing output, it could be something else not recognized through these channels.

Answered By LinuxNinja99 On

Have you tried using `nohup `? This command can sometimes help in preventing output when running a process.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.