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.
system()コードが通信する外部プログラムを開いたり閉じたりするために使用しています。ただし、関数を使用するたびに、通常の端末/シェルからプログラムを呼び出した場合に得られるコンソール出力を取得します。system()たとえば、呼び出すたびに終了メッセージが表示されます。このタイプの出力を抑制する方法はありますか?system(killall [program] &)
system()
system(killall [program] &)