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.
rootパスワードを入力するダイアログを表示した後、QProcessを使用してrootとしてプロセスを開始するアプリケーションをQtで作成しました。新しいプロセスは root として実行されます。ボタンを使用してアプリケーションを終了すると、子プロセスは終了しません。メインアプリケーションが終了したときに子プロセスも終了するようにするにはどうすればよいですか?