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.
当我执行 Nuitka 时,总会出现一些日志和警告。我该如何抑制这个?例子:python3 -m nuitka --follow-imports --standalone --remove-output main.py
python3 -m nuitka --follow-imports --standalone --remove-output main.py
附加2 > /dev/null到命令。这会将 stderr 输出重定向到/dev/null将其丢弃。
2 > /dev/null
/dev/null