フォロー

Found a pitfall: you cannot `wait` for a process that is not a child of the shell.
I was trying to write a shell script that watches (externally started) processes and notifies when one of them crashes, but `wait` does not work here so maybe some polling is necessary.

ログインして会話に参加
Fedibird

様々な目的に使える、日本の汎用マストドンサーバーです。安定した利用環境と、多数の独自機能を提供しています。