Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我从 jDeveloper 等终端打开应用程序时,如何阻止 jdev 中的异常堆栈跟踪显示在终端上?
假设你使用 bash 作为你的 shell,那jdev是你的可执行文件
jdev
jdev &> /dev/null
不会在终端中显示任何内容。如果您只想重定向stderr,那么您可以这样做
jdev 2> /dev/null